Redigera

Dela via


LinqDataSourceView.Inserting Event

Definition

Occurs before an insert operation.

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

Event Type

Remarks

Handle the Inserting event to validate the object to be inserted, to change a value before the insert operation, or to cancel the insert operation. For more information, see the LinqDataSource.Inserting event.

Applies to

See also