datacolchanging事件,代码
Select Case e.DataCol.Name Case "第二列","第三列","第四列","第五列","第六列" e.Cancel = e.DataRow("业务员") <> user.Name Case "业务员" If e.DataRow.IsNull("业务员") = False Then e.Cancel = True End IfEnd Select