datacolchanged事件错误 Post By:2014/4/7 16:41:00 [显示全部帖子]
我今天在datacolchanged事件中写了以下代码:
If (e.DataRow("含税情况") = "含17%税" Or e.DataRow("含税情况") = "含13%税") Then Dim ar As DataRow ar = DataTables("进项明细表").Find("_Identify = '" & e.DataRow("销标") & "'") If ar IsNot Nothing Then ar("产品开piao数量") = e.NewValue ar.save End If End If 但一运行就出错,出错图片如下: