I have a DataTable bound to a DataGridView. I have FullRowSelect enabled in the DGV. Is there a way to get the selected row as a DataRow so that I can get strongly typed a
Try this:
DataRow row = gridView1.GetDataRow(gridView1.FocusedRowHandle); ` if (row != null) { XtraMessageBox.Show(row["ID"].ToString()); }