111,120
社区成员
发帖
与我相关
我的任务
分享
private void classesDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}private void classesDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e)
{
}
private void classesDataGridView_DataError(object sender, DataGridViewDataErrorEventArgs e)
{//classesDataGridView是我项目中的name
if (e.ColumnIndex == 1)//不能为空的数值所在的列
MessageBox.Show("不能为空!");
}try
...
catch ex as System.ArgumentException
MsgBox(ex.Message.ToString.Trim, MsgBoxStyle.OkOnly, "系統提示!")
...