C# datagridview get row index by cell value code example Example: c# datagridview selected row index datagridview.CurrentCell.RowIndex