通过PagedDataSource pds = new PagedDataSource(); //分页对象
pds.PageSize = 3;
pds.CurrentPageIndex = index+1;
pds.Datasource = 逻辑层
pds.AllowPagin = true;