The DataList and DataRepeater in ASP.NET provide simple and quick ways to display, between us, we can use
How to solve it?
In fact, we can [PageDataSource] class to solve the problem of paging.
The properties of the PagedDataSource class:
DataSource - Data Source
AllowPaging - True Whether to allow page .pagesize - Number of items per page PageCount - Total number
CurrentPageIndex - The current page of the current is as follows: