Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelDataSourceView.ExecuteInsert Method

.NET Framework 4.6 and 4.5

Performs an insert operation using the InsertMethod method.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

protected override int ExecuteInsert(
	IDictionary values
)

Parameters

values
Type: System.Collections.IDictionary

The values to be inserted.

Return Value

Type: System.Int32
The number of rows inserted; otherwise, -1, if the number is not known.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft