DataSourceView.ExecuteCommand Método

Definição

Executa o comando especificado.

Sobrecargas

ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executa o comando especificado.

ExecuteCommand(String, IDictionary, IDictionary)

Executa o comando especificado.

ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executa o comando especificado.

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)

Parâmetros

commandName
String

O nome do comando.

keys
IDictionary

Um dicionário de chaves de objeto ou chaves de linha no qual agir.

values
IDictionary

Um dicionário de pares nome-valor que representa os elementos de dados e seus valores.

Comentários

Esse método não retorna um valor.

Aplica-se a

ExecuteCommand(String, IDictionary, IDictionary)

Executa o comando especificado.

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

Parâmetros

commandName
String

O nome do comando.

keys
IDictionary

Um dicionário de chaves de objeto ou chaves de linha no qual agir.

values
IDictionary

Um dicionário de pares nome-valor que representa os elementos de dados e seus valores.

Retornos

Int32

O número de itens afetados pela operação.

Aplica-se a