2
Answers

Compare grid value to a text

Gustavo

Gustavo

14y
2.1k
1

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)