Editare

Partajați prin


LinqDataSourceView.Deleting Event

Definition

Occurs before a delete operation.

public:
 event EventHandler<System::Web::UI::WebControls::LinqDataSourceDeleteEventArgs ^> ^ Deleting;
public event EventHandler<System.Web.UI.WebControls.LinqDataSourceDeleteEventArgs> Deleting;
member this.Deleting : EventHandler<System.Web.UI.WebControls.LinqDataSourceDeleteEventArgs> 
Public Custom Event Deleting As EventHandler(Of LinqDataSourceDeleteEventArgs) 

Event Type

Remarks

Handle the Deleting event to validate the object to be deleted, to change a value before the delete operation, or to cancel the delete operation.

For more information, see the LinqDataSource.Deleting event.

Applies to

See also