Many ways of paging, generally use DataGrid to implement paging, for data sources, there is a stored procedure paging, with Dataset is paging, which is better, I think it is related to the software programming environment. But what is the implementation process? Main code: private void createdable () {// Get data createDataTable (REF DT1); int N = dt1.rows.count; // Total number PageCount = (N Pagesize-1) / PageSize; if (PageIndex> PageCount ) PageIndex = PageCount -1; // Clear drop-down list this.pageselectedindIndex.Items.clear (); for (int i = 0; i / / Calculate the selection range, set the data on the mark INT PageLowerBound = 0; int pageUpperbound = 0; PagelowerBound = PageIndex * PageSize; PageUpperBound = (PageIndex 1) * Pagesize; // Solving the problem IF (PageUpperBound> N) ) PageUpperbound = N; // Dynamically create table for (INT i = PageLowerBound; i Download address: http://25h.bigwww.com/downloadload/PageDemo.ra