Foxtable(狐表)用户栏目专家坐堂 → [求助]数据显示问题


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

主题:[求助]数据显示问题

帅哥,在线噢!
kylin
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信 F6
等级:狐精 帖子:3030 积分:19188 威望:0 精华:2 注册:2008/9/1 7:50:00
  发帖心情 Post By:2008/11/14 8:24:00 [显示全部帖子]

数据同步显示问题
Datalist1控件的CurrentChanged事件中
Dim dst As WinForm.DataList = e.Form.Controls("DataList1")
Dim dr as DataRow = dst.Current
if dr isnot nothing then
   Dim Index As Integer = Tables("当前表名").FindRow(dr)
   If Index >=0 Then 
      Tables("当前表名").Position = Index   
    End If
End If

供你参考,呵呵

 回到顶部