October 2010
Intermediate to advanced
1920 pages
73h 55m
English
DataList ControlYou can use the DataList control to edit database records. However, editing with the DataList control requires more coding than editing with other DataBound controls, such as the GridView, FormView, or DetailsView controls.
The page in Listing 13.11 illustrates how you can edit and delete database records with the DataList control (see Figure 13.9).
Figure 13.9. Editing database records with the DataList control.

Listing 13.11. EditDataList.aspx

The ItemTemplate contained in the DataList in Listing ...
Read now
Unlock full access