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.
Listing 12.24. ShowFormViewDeleting.aspx
The FormView
control includes ...
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.