摘要: gridview分页 GridView2.AllowPaging = true; GridView2.PageIndex = 0;GridView2.DataBind();repeater 分页 通过 PagedDataSource CurrentPageIndex DataTable dt = '连接数据库并查询' PagedDataSource pds = new PagedDataSource(); pds.DataSource = dt.DefaultView; pds.AllowPaging = true; pds.PageSize = 2; pds.CurrentP 阅读全文
posted @ 2011-11-06 22:23 ltcnba 阅读(205) 评论(0) 推荐(0) 编辑