System.Web.UI.WebControls.ObjectDataSourceView.Inserting Event

Occurs before an erload:System.Web.UI.WebControls.ObjectDataSourceView.Insert operation.

Syntax

public event ObjectDataSourceMethodEventHandler Inserting

Remarks

Handle the ObjectDataSourceView.Inserting event to perform additional initialization operations that are specific to your application, to validate the values of parameters, or to change the parameter values before the System.Web.UI.WebControls.ObjectDataSource control performs the erload:System.Web.UI.WebControls.ObjectDataSourceView.Insert operation. The parameters are available as an IDictionary collection that is accessed by the ObjectDataSourceMethodEventArgs.InputParameters property, which is exposed by the System.Web.UI.WebControls.ObjectDataSourceMethodEventArgs object.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0