DataGridView的UserDeletedRow事件问题
e.Row.Cells[0].Value == null
这是为什么呢,怎么获取删除行的数据呢?
------解决方案--------------------
private void DataGridView1_UserDeletingRow(object sender,
   DataGridViewRowCancelEventArgs e)
{
   DataGridViewRow gRow = DataGridView1.Rows[0];
   if (DataGridView1.SelectedRows.Contains(gRow))
   {
       if (e.Row.Equals(gRow))
       {          
       }
       e.Cancel = true;
   }
}
参考