以文本方式查看主题

-  Foxtable(狐表)  (http://www.foxtable.com/bbs/index.asp)
--  专家坐堂  (http://www.foxtable.com/bbs/list.asp?boardid=2)
----  [求助]怎么报错?  (http://www.foxtable.com/bbs/dispbbs.asp?boardid=2&id=82134)

--  作者:zgjmost
--  发布时间:2016/3/12 9:17:00
--  [求助]怎么报错?
 For Each ar As Row In Tables("删除后").Rows
    Dim dr As DataRow = DataTables("考试数据表").find("试卷号 = \'" ar("试卷号") "\'")
    If dr IsNot Nothing Then
        dr("核对") = 是
    End If
Next
这个怎么报错? 

--  作者:fjlclxj
--  发布时间:2016/3/12 9:18:00
--  
Dim dr As DataRow = DataTables("考试数据表").find("试卷号 = \'"  & ar("试卷号")  & "\'")
--  作者:zgjmost
--  发布时间:2016/3/12 9:20:00
--  
For Each ar As Row In Tables("删除后").Rows
    Dim dr As DataRow = DataTables("原来的").find("身份证号 = \'"  & ar("身份证号")  & "\'")
    If dr IsNot Nothing Then
        dr("核对") = "是"
    End If
Next