Foxtable(狐表)用户栏目专家坐堂 → 数据表中怎么增加多行???


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

主题:数据表中怎么增加多行???

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


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2017/11/15 9:20:00 [只看该作者]

1、

 

Tables("表A").AddNew(30)

 

2、

 

Dim t As Table = Tables("表A")
For i As Integer = t.LeftCol To t.RightCol
    For j As Integer = t.TopRow To t.BottomRow
        t(i,j) = Nothing
    Next
Next

 

3、

 

Tables("表A").DataTable.RejectChanges


 回到顶部