允许此表可以编辑。
'PrepareEdit事件
If User.Name <> "管理员" Then If e.Row.IsNull(e.col.name) = False Then e.Cancel = True End IfEnd If