Select Case e.DataCol.name
Case "通知_状态"
If e.DataRow("通知_状态") = True Then '是逻辑列
e.DataRow("通知_经办员") = User.Name
e.DataRow("通知_时间") = Date.Now()
Else
e.DataRow("通知_经办员") = Nothing
e.DataRow("通知_时间") = Nothing
End If
Case "签收_申请"
If e.DataRow("签收_申请") = True Then '是逻辑列
e.DataRow("签收_管理员") = User.Name
Else
e.DataRow("签收_管理员") = Nothing
End If
End Select