Chapter 13. Managing Views of a Record

Many applications need to work on a single record at a time. Old versions of ASP.NET had no built-in support for this scenario. For example, creating a single record view is possible in ASP.NET 1.x, but it requires some coding and, possibly, a custom control. You have to fetch the record, bind its fields to a data-bound form, and optionally provide paging buttons to navigate between records. Displaying the contents of a single record is a common and necessary practice when you build master/detail views. Typically, the user selects a master record from a list or a grid, and the application drills down to show all the available fields. In ASP.NET 2.0 and newer versions, the DetailsView control fulfills this ...

Get Programming Microsoft® ASP.NET 3.5 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.