DataSourceView::ExecuteCommand Method (String^, IDictionary^, IDictionary^)

.NET Framework (current version)
 

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
)

Parameters

commandName
Type: System::String^

The name of the command.

keys
Type: System.Collections::IDictionary^

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

values
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
Available since 4.0
Return to top
Show: