Chapter 12. Using the DetailsView and FormView Controls

<feature><title>In this Chapter</title> <objective>

Using the DetailsView Control

</objective>
<objective>

Using the FormView Control

</objective>
<objective>

Summary

</objective>
</feature>

The DetailsView and FormView controls, the subject of this chapter, enable you to work with a single data item at a time. Both controls enable you to display, edit, insert, and delete data items such as database records. Furthermore, both controls enable you to page forward and backward through a set of data items.

The difference between the two controls concerns the user interface that the controls render. The DetailsView control always renders each field in a separate HTML table row. The FormView control, on ...

Get ASP.NET 2.0 Unleashed 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.