启航-▲每天有个新的开始▲  
公告
日历
统计
  • 随笔 - 94
  • 文章 - 2
  • 评论 - 8
  • 引用 - 2

导航

 
'创建一个填充数据集的过程
Sub readpage(ByVal n As Integer)
 sDA 
= New SqlDataAdapter("select employeeid, lastname from employees order by employeeid", scon)
 ds 
= New DataSet
 ds.Clear()
 sDA.Fill(ds, (n 
- 1* rowCount, rowCount, "employees")
End Sub
然后绑定到ds上
posted on 2007-10-20 15:49 bighope 阅读(14) 评论(0) 编辑 收藏
 
Copyright © bighope Powered by: 博客园 模板提供:沪江博客