Chapter 19. Using Templated Data Web Controls


In this hour, we will cover

  • Using the ListView and FormView controls to display data

  • Creating the ListView’s templates by hand and through the Configure ListView dialog box

  • Sorting data with the ListView

  • Paging through data with the DataPager control

  • Paging through the FormView’s records


As we have seen through the past several hours, the GridView and DetailsView controls make displaying, inserting, editing, and deleting database data as easy as point and click. However, these two controls render a rather boxy and unimaginative interface. By default, the GridView and DetailsView use BoundFields to display the database columns returned by their data source controls, which ...

Get Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.