i m using these code for selecting data grid row
While i <= DataGridView1.Rows.Count - 1
If Trim(DataGridView1.Rows(i).Cells(0).Value) = Trim(TextBox1.Text) Then
DataGridView1.Rows(i).Selected = True
i = i + 1
it's working nice.
but , when no of row more then grid showing rows then grid not show selected row in grid screen, for showing selected row we have to use scroll bar,
my problem is how to show selected row in grid automatically