Deleting Data with the FormView Control

You can use the FormView control to delete database records. For example, the page in Listing 12.24 enables you to delete records from the Movies database table (see Figure 12.16).

Figure 12.16. Deleting a record with the FormView control.

image

Listing 12.24. ShowFormViewDeleting.aspx

images

images

images

The FormView control includes ...

Get ASP.NET 4 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.