Using Paging

You can use paging to allow the user to move through the data when there are more items than you can reasonably display. This can be because you are using a control that lists data (such as Repeater), and you don't want the list to go on forever, or because a control can display only one record (such as FormView), and you want the user to be able to select which record is displayed. Some of the data controls support paging directly, while others require you to take a slightly longer route to achieve the same effect.

Using a Paging-Enabled Control

A good example of a control that has built-in support for paging is FormView. This control displays only one data item or record at a time, but the addition of paging allows the user to ...

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.