O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required