datacolchange代码如下。
对审核通过打勾,点击确定,然后执行代码。但是点击取消,审核通过应该变为没有打勾的状态。现在点击取消仍然是打勾状态。
怎么改一下。
If e.DataCol.name="审核通过" Then
If e.DataRow("审核通过") Then
If r.IsNull("邮件通知") = True Then
MessageBox.show("请对邮件通知下拉列选择通知人员","提示",MessageBoxButtons.OK,MessageBoxIcon.Warning)
e.DataRow("审核通过") = "false"
Else
If MessageBox.show("请核实已审核的需求","打勾前请确认",MessageBoxButtons.OKCancel,MessageBoxIcon.Question)=DialogResult.OK Then
代码
endif