O'Reilly logo

Applied ASP.NET 4 in Context by Adam Freeman

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

Using the DetailsView Control

The DetailsView control displays a single data record at a time and supports paging to allow the user to select which record that is. The DetailsView control is similar in purpose to the FormView control, although, as you’ll see, it is somewhat less flexible.

The easiest way to configure a DetailsView control is through the design surface, as shown in Figure 20-1.

images

Figure 20-1. Using the design surface to configure the DetailsView control

Using the design surface, you can enable paging between controls and the ability to insert, delete, and edit the individual data items. The DetailsView control supports the templates ...

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