Foxtable(狐表)用户栏目专家坐堂 → Exception has been thrown by the target of an invocation.


  共有2971人关注过本帖平板打印复制链接

主题:Exception has been thrown by the target of an invocation.

美女呀,离线,留言给我吧!
ganlan
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:幼狐 帖子:189 积分:1233 威望:0 精华:0 注册:2021/4/17 10:35:00
Exception has been thrown by the target of an invocation.  发帖心情 Post By:2021/7/1 12:06:00 [只看该作者]

重置列的时候提示这个错误:Exception has been thrown by the target of an invocation.帮忙看一下是什么原因,谢谢啦
If e.DataCol.Name = "出单号" Then 
      If e.NewValue Is Nothing Then 
         e.DataRow("付款金额") = Nothing 
               Else 
               Dim aa As DataRow 
               aa = DataTables("流水").Find("[出单号] = '" & e.NewValue & "'")
               If aa IsNot Nothing Then 
               e.DataRow("付款金额") =  "1"
               Else
               e.DataRow("付款金额")= "-1000"
End If
End If
End If
[此贴子已经被作者于2021/7/1 12:06:10编辑过]

 回到顶部
总数 36 1 2 3 4 下一页