c# 4.0 - Visual studio 2010-C#: Go to a specific row in DataGridView -


for example:
go next row
or
going last row
or
going row 4

what code should written?

set datagridview1.currentcell first cell of needed row:

datagridview.currentrow change current row, must set currentcell property cell in desired row.

datagridview.currentcell datagridviewcell represents current cell, or null if there no current cell. default first cell in first column or null if there no cells in control.


Comments