以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 审核栏取消勾选时,清除审核人及审核时间? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=16237) |
-- 作者:jinruan -- 发布时间:2012/2/6 17:16:00 -- 审核栏取消勾选时,清除审核人及审核时间? 审核栏勾选进,填入审核人及审核时间 审核栏取消勾选时,清除审核人及审核时间
If e.DataCol.Name = "审核" Then If e.DataRow("审核") = True Then e.DataRow("审核人") = User.Name e.DataRow("审核时间") = Date.Now Else e.DataRow("审核人") = "" e.DataRow("审核时间")= \'此处应该怎样写? End If End If
|
-- 作者:狐狸爸爸 -- 发布时间:2012/2/6 17:21:00 -- If e.DataCol.Name = "审核" Then
If e.DataRow("审核") = True Then e.DataRow("审核人") = User.Name e.DataRow("审核时间") = Date.Now Else e.DataRow("取消审核人") = User.Name e.DataRow("取消审核时间")= Date.Now End If End If |
-- 作者:jinruan -- 发布时间:2012/2/6 17:26:00 -- 那得再加两字段啦,就按老大这样写啦 |