I have a datagridview with 1 column with some rows. I want to do :
When an user write a value in TextBox, if that value already exists in datagridview, I want to select the row which contains that TextInput value
How to do that ?
I’m going to use like this :
dataGridView1.CurrentCell = dataGridView1[0, index];
But I don’t know how to find the index using TextBox value.
You could loop through the rows until you find one that matches the value of the textbox: