Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ExecuteCommand Method (String, IDictionary, IDictionary)

DataSourceView.ExecuteCommand Method (String, IDictionary, IDictionary)

.NET Framework 4.6 and 4.5

Executes the specified command.

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

protected virtual int ExecuteCommand(
	string commandName,
	IDictionary keys,
	IDictionary values


Type: System.String

The name of the command.

Type: System.Collections.IDictionary

A dictionary of object keys or row keys to act on.

Type: System.Collections.IDictionary

A dictionary of name/value pairs that represent data elements and their values.

Return Value

Type: System.Int32
The number of items that were affected by the operation.

.NET Framework

Supported in: 4.6, 4.5, 4
© 2015 Microsoft