DetailsView::DeleteItem Method ()
.NET Framework (current version)
Deletes the current record from the data source.
Assembly: System.Web (in System.Web.dll)
The deletion does not occur if the DetailsView control is in Insert mode. The ItemDeleting event is raised immediately before the item is deleted. Set the Cancel property to true to cancel the deletion.
.NET Framework
Available since 2.0
Available since 2.0
Show: