Paging through Data with the DetailsView Control

You can use the DetailsView to page through a set of database records by enabling the DetailsView control’s AllowPaging property. The page in Listing 12.6 illustrates how you can page through the records in the Movies database table (see Figure 12.4).

Figure 12.4. Paging through records with the DetailsView control.

image

Listing 12.6. ShowPaging.aspx

images

Warning

In this section, you learn how to take advantage of user interface paging when paging through records with the DetailsView control. Although ...

Get ASP.NET 4 Unleashed 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.