selected items in datagridview c# code example Example: get selected row datagridview c# yourDataGridView.CurrentCell.RowIndex