It s fairly common for Web applications to work on a single record at a time.
For example, displaying the contents of a single record of data is a necessary practice when you build master/detail views. NET 2.0, the Details View control renders a single record at a time from its associated data source, optionally providing paging buttons to navigate between records and Create/Read/Update/Delete (CRUD) capabilities.
You can customize the user interface of the Details View control to a large extent.
The default set of data fields includes templated, image checkboxes, and hyperlink fields.
For more information on the Details View control, see "Getting Under the Detail Views Control.
" The Details View control is not limited to exposing its data to users in an appropriate and friendly way.
The control also provides interactive buttons to navigate data and edit and insert new records.
These features are provided out-of-the-box and are not configurable by programmers.
Or, at least, not declaratively and, maybe, not easily.In this column, I ll first answer a specific question posed by a reader, then move on to putting the solution in perspective and extending other features of the Details View control.Let s say you need a Web page that collects data and populates a database.By using the Details View control you save yourself a bunch of user interface stuff.The control provides a free table-based interface with one column for labels and one column for input fields.You set the working mode of the Details View to Insert and go: Figure 1 shows the output you get.