I have a C# winforms application and I am trying to get a button working that will select the next row in a datagridview after the one curently selected.
The code I
this example to read value cell or column is number 4 of datagridview
int courow = dataGridView1.RowCount-1; for (int i=0; i < courow; i++) { MessageBox.Show(dataGridView1.Rows[i].Cells[4].Value.ToString()); }