O'Reilly logo

Sams Teach Yourself ASP.NET 3.5 in 24 Hours, Complete Starter Kit by Scott Mitchell

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

Chapter 19. Using Templated Data Web Controls

<feature><title></title>

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

</feature>

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

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