Foxtable(狐表)用户栏目专家坐堂 → [求助]填充问题


  共有17361人关注过本帖树形打印复制链接

主题:[求助]填充问题

帅哥哟,离线,有人找我吗?
mr725
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 一级勋章
等级:MVP荣誉狐 帖子:5154 积分:31434 威望:0 精华:8 注册:2008/9/8 12:27:00
  发帖心情 Post By:2010/4/23 11:00:00 [显示全部帖子]

If e.DataCol.Name = "学号" Then              '改为: With Tables("学号")  或 If Maintable = Tables("学号") 
    Dim dr1 As DataRow = e.DataRow       '改为: Datsrow = DataTables("学号").Datarows(Tables("学号").Current)       Dim dr1 As Row = Tables("学号").Current
    Dim dr2 As DataRow = DataTables("成绩库").Find("[学号] = " & dr1("学号"))
    If dr2 IsNot Nothing Then
       dr1("姓名") = dr2("姓名")
       dr1("班级") = dr2("班级")
    End If
End If                                                    '改为: End With

多试一试就知道了···

 回到顶部