Chapter 12. Using the DetailsView and FormView Controls
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 the other hand, uses a template that enables you to completely customize the user interface ...
Get ASP.NET 4 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.