DataRow dr; dr = ((dgv.DataSource) as DataTable).Rows[dgv.CurrentRow.Index];
DataRowView drv = myDataGridView.CurrentRow.DataBoundItem as DataRowView; if (drv != null) { DataRow dr = drv.Row; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)