HELP - Find Row Index by value in DataGridView

G

Guest

Hi
I am looking for examples of how to find the row index in a Datagridview
control by comparing a string value to the value in a Cell.

Thanks
Brian
 
M

Mike

e.item.cell[0].value = "is this what your looking for";

cell[0] is the first cell in the row of your gridview
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top