October 2010
Intermediate to advanced
1920 pages
73h 55m
English
The GridView control also enables you to edit database data. The amazing thing is that you can use the GridView to edit the contents of a database table row without writing a single line of code.
The page in Listing 11.13 illustrates how you can update and delete records in the Movies database table by using the GridView control (see Figure 11.9).
Figure 11.9. Editing records with the GridView.

Listing 11.13. EditGrid.aspx

In Listing 11.13, the GridView control has both its AutoGenerateEditButton and AutoGenerateDeleteButton properties ...