datagridview get row based on cell value vb.net code example
Example 1: vb.net datagridview set row index
DataGridView1.CurrentCell = DataGridView1.Item(column, row)
Example 2: datagridview select row column cell c#
private void setCurrentCellButton_Click(object sender, System.EventArgs e)
{
// Set the current cell to the cell in column 1, Row 0.
this.dataGridView1.CurrentCell = this.dataGridView1[1,0];
}