ObjectDataSource.Inserting Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs before an Insert() operation.
public:
event System::Web::UI::WebControls::ObjectDataSourceMethodEventHandler ^ Inserting;
public event System.Web.UI.WebControls.ObjectDataSourceMethodEventHandler Inserting;
member this.Inserting : System.Web.UI.WebControls.ObjectDataSourceMethodEventHandler
Public Custom Event Inserting As ObjectDataSourceMethodEventHandler
Event Type
Examples
This section contains two code examples. The first code example demonstrates how to use an ObjectDataSource object with a business object and a DetailsView control to insert data. The second code example provides an example of the middle-tier business object that is used in the first code example.
The following code example demonstrates how to use an ObjectDataSource control with a business object and a