只能这样变通
DataRowAdding
e.DataRow("第二列") = "123"
DataRowLockedChanged
If e.DataRow.RowState = DataRowState.Added AndAlso e.DataRow("第二列") = "123" Then e.DataRow("第二列") = Nothing ReturnEnd IfIf e.DataRow.Locked Then MessageBox.show(1)Else MessageBox.show(2)End If