DataSourceView.ExecuteCommand 方法

定义

执行指定的命令。

重载

ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

执行指定的命令。

ExecuteCommand(String, IDictionary, IDictionary)

执行指定的命令。

ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

执行指定的命令。

public:
 virtual void ExecuteCommand(System::String ^ commandName, System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Web::UI::DataSourceViewOperationCallback ^ callback);
public virtual void ExecuteCommand (string commandName, System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Web.UI.DataSourceViewOperationCallback callback);
abstract member ExecuteCommand : string * System.Collections.IDictionary * System.Collections.IDictionary * System.Web.UI.DataSourceViewOperationCallback -> unit
override this.ExecuteCommand : string * System.Collections.IDictionary * System.Collections.IDictionary * System.Web.UI.DataSourceViewOperationCallback -> unit
Public Overridable Sub ExecuteCommand (commandName As String, keys As IDictionary, values As IDictionary, callback As DataSourceViewOperationCallback)

参数

commandName
String

命令的名称。

keys
IDictionary

要对其执行操作的对象键或行键的字典。

values
IDictionary

表示数据元素及其值的名称/值对的字典。

注解

此方法不返回值。

适用于

ExecuteCommand(String, IDictionary, IDictionary)

执行指定的命令。

protected:
 virtual int ExecuteCommand(System::String ^ commandName, System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values);
protected virtual int ExecuteCommand (string commandName, System.Collections.IDictionary keys, System.Collections.IDictionary values);
abstract member ExecuteCommand : string * System.Collections.IDictionary * System.Collections.IDictionary -> int
override this.ExecuteCommand : string * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overridable Function ExecuteCommand (commandName As String, keys As IDictionary, values As IDictionary) As Integer

参数

commandName
String

命令的名称。

keys
IDictionary

要对其执行操作的对象键或行键的字典。

values
IDictionary

表示数据元素及其值的名称/值对的字典。

返回

Int32

受操作影响的项数。

适用于