ASP.NET Repeater Paging
The ASP.NET Repeater is a basic container control that allows you to create custom lists from any data available to the page. The Repeater control that render HTML to display the contents of a list or data source to which they are bound. The following ASP.NET program shows how to create a custom pager to the Reapeater control.
In order to build a custom pager, we need two Link button for navigating Next and Previous records and also we need a hidden field to carry the current index of the recordset. Here we are using this index value for retrieving the next group of data from recordset.
The following ASP.NET program retrieves the data from Authors table and display 5 records per page in the Repeater control.
Click the following links to see full source code