EntityDataSourceView.ExecuteInsert Method (IDictionary)

.NET Framework (current version)
 

Performs an insert operation.

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

protected override int ExecuteInsert(
	IDictionary values
)

Parameters

values
Type: System.Collections.IDictionary

The values of the entity to be inserted.

Return Value

Type: System.Int32

The number of rows inserted; otherwise, -1, if the operation fails or the number is not known.

.NET Framework
Available since 4.5
Return to top
Show: