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

EntityDataSourceView.ExecuteUpdate Method

.NET Framework 4.6 and 4.5

Performs an update operation.

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

protected override int ExecuteUpdate(
	IDictionary keys,
	IDictionary values,
	IDictionary oldValues


Type: System.Collections.IDictionary

The keys of the entity to be updated.

Type: System.Collections.IDictionary

The new values of the entity to be updated.

Type: System.Collections.IDictionary

The old values of the entity to be updated.

Return Value

Type: System.Int32
The number of rows updated; otherwise, -1, if the operation fails or the number is not known.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft