how to select current row index in c# datagridview code example Example: c# datagridview selected row index datagridview.CurrentCell.RowIndex