Editing Database Data

You can use the ListView control to update, delete, and insert items. The page in Listing 14.6 illustrates how you can use the ListView to modify or delete the records in the Movie database table (see Figure 14.6).

Figure 14.6. Editing database data with the ListView control.

image

Listing 14.6. EditListView.aspx

images

images

images

The ListView ...

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.