AspNetPager第三方控件分页代码
2009-04-02 10:17
417 查看
private void BindData() { BLL.TrafficLine _TrafficLine = new Traffic.BLL.TrafficLine(); DataSet ds = _TrafficLine.GetAllList(); PagedDataSource pds = new PagedDataSource(); pds.AllowPaging = true; pds.CurrentPageIndex = AspNetPager1.CurrentPageIndex - 1; pds.PageSize = 4; AspNetPager1.RecordCount = ds.Tables[0].Rows.Count; pds.DataSource = ds.Tables[0].DefaultView; Repeater1.DataSource = pds; Repeater1.DataBind(); } |
相关文章推荐
- AspNetPager.dll 分页控件使用方法、含有代码示例 [转]
- 简单实用的分页控件 AspNetPager.dll 下载地址、使用方法、含有代码示例
- AspNetPager分页控件--使用方法
- AspNetPager分页控件--使用方法 2
- AspNetPager 免费分页控件7.5.1版发布!
- AspNetPager+GridView实现分页的实例代码
- AspNetPager分页控件 实现AJAX
- asp.net DataList控件分页代码
- 用控件AspNetPager.dll进行分页
- 用repeater控件+AspNetPager.dll实现ASP分页
- AspNetPager分页控件
- AspNetPager分页控件
- AspNETPager分页控件的用法
- AspNetPager7.3.2版本控件分页实例
- AspNetPager 分页控件常用属性
- AspNetPager分页控件的使用
- AspNetPager分页控件的使用
- AspNetPager分页控件定义及应用样式示例介绍
- ASPNETPAGER分页控件的使用方法[图文]
- AspNetPager分页控件使用