Foxtable(狐表)用户栏目专家坐堂 → [求助]Recordgrid与SQLCommand


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

主题:[求助]Recordgrid与SQLCommand

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


加好友 发短信
等级:婴狐 帖子:96 积分:717 威望:0 精华:0 注册:2013/6/28 13:05:00
[求助]Recordgrid与SQLCommand  发帖心情 Post By:2013/11/9 9:04:00 [只看该作者]

Dim selectstu AS DataTable
Dim cmdsele As New SQLCommand
cmdsele.C
cmdsele.CommandText = "Select _Identify,studentno,studentname  from {student_list} where _Identify is null"
Selectstu = cmdsele.ExecuteReader(True)

Dim rgd1 As WinForm.RecordGrid = e.Form.Controls("RecordGrid2")
rgd1.Table =????  '指定绑定表
rgd1.Build()

上一个是DataTable ,下一个要求是Table,有办法转换,让RecordGrid与SqlCommand绑定吗?


 回到顶部