删除 多行为什么总有一行,删不掉,还需要删第二次 Post By:2014/6/6 16:09:00 [只看该作者]
befordeletedatarow中代码如下
static psd As String = ""
If user.IsRole("管理") = True Or user.name = "冯志明" Then If e.DataRow.IsNull("下单日期") = False Then If psd <> "040610" Then '如果密码不正确 InputValue(psd,"验证","请输入密码") '输入密码 e.Cancel = True End If End If Else e.Cancel = True MessageBox.Show("无权删除") End If