Foxtable(狐表)用户栏目专家坐堂 → [求助]如何将字典中的元素(row类型)插入到table中


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

主题:[求助]如何将字典中的元素(row类型)插入到table中

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


加好友 发短信
等级:二尾狐 帖子:574 积分:4332 威望:0 精华:0 注册:2013/7/26 10:24:00
[求助]如何将字典中的元素(row类型)插入到table中  发帖心情 Post By:2015/1/5 10:03:00 [显示全部帖子]

Dim dic As new Dictionary(of String,Row)
With Tables("A")
    For Each r As Row In .rows
        dic.add(r("编号"),r)
    Next
End With
With Tables("B")
    For Each r As Row In .rows
        If dic.containskey(r("编号"))=False Then
            '将dic(r("编号"))添加到tables("B")中
            ????????????????
        End If
    Next
End With


 回到顶部