Loading
possible unintended reference comparison to get a value comparison cast the left hand side to type 'string' why this showKnow the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Wim SturkenboomPosted Oct 23, 2014, 3:58 AM
if (dataGridView1.SelectedRows[0].Cells["IsSailor"].Value.ToString().Equals("Yes"))
{
}