When I write if condition in one line for the textbox i.e.
if (txtNotes.Text.Equals(" ") ? string.Empty: gvrow.Cells[6].Text)
I am getting the error stating:
Cannot implicitly convert type "string" to "bool"
Just want to check where I am going wrong.