摘要:
public DataTable GetPagedTable(DataTable dt) { int PageSize = AspNetPager1.PageSize; int PageIndex = AspNetPager1.CurrentPageIndex; if (PageIndex == 0) return dt; DataTable newdt = dt.Copy(); newdt.Clear(); int rowbegin = (PageIndex - 1) * PageSize; int rowend = PageIndex * PageSize; if (rowbegin &g 阅读全文
posted @ 2012-07-29 09:30 俗人一个 阅读(211) 评论(0) 推荐(0) 编辑