vb.net datagridview set number of rows visible code example Example: vb.net datagridview set row index DataGridView1.CurrentCell = DataGridView1.Item(column, row)