Gustavo

Gustavo

  • NA
  • 1.3k
  • 454.4k

Compare grid value to a text

Feb 28 2010 12:16 AM

Hello:
 
I have the following statement and I am getting an error. I probably have the wrong syntax. Can someone tell me what I did wrong?
 
if (dataGridViewIP_Login.Rows[i].Cells["ColumnPassword"].Value == textBoxUser_ID.Text)

Answers (2)