LinqDataSourceView.Inserting Event


Occurs before an insert operation.

 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) 


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