DataSourceView.ExecuteCommand Method

Definition

Executes the specified command.

Overloads

ExecuteCommand(String, IDictionary, IDictionary, DataSourceViewOperationCallback)

Executes the specified command.

C#
public virtual void ExecuteCommand(string commandName, System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Web.UI.DataSourceViewOperationCallback callback);

Parameters

commandName
String

The name of the command.

keys
IDictionary

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

values
IDictionary

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

Remarks

This method does not return a value.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ExecuteCommand(String, IDictionary, IDictionary)

Executes the specified command.

C#
protected virtual int ExecuteCommand(string commandName, System.Collections.IDictionary keys, System.Collections.IDictionary values);

Parameters

commandName
String

The name of the command.

keys
IDictionary

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

values
IDictionary

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

Returns

The number of items that were affected by the operation.

Applies to

.NET Framework 4.8.1 a ďalšie verzie
Produkt Verzie
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1