October 2010
Intermediate to advanced
1920 pages
73h 55m
English
Imagine that you are working with a database table that contains 3 billion records and you want to enable users to both sort the records and page through the records contained in this table. In that case, you want to implement both data source sorting and paging.
The page in Listing 18.27 contains a GridView and ObjectDataSource control. The GridView has both its AllowSorting and AllowPaging properties enabled (see Figure 18.7).
Figure 18.7. Paging and sorting database records.

Listing 18.27. ShowDSSorting.aspx

The ObjectDataSource ...
Read now
Unlock full access