Uređivanje

Dijeli putem


LinqDataSourceView.ExecuteUpdate Method

Definition

Performs an update operation.

protected:
 override int ExecuteUpdate(System::Collections::IDictionary ^ keys, System::Collections::IDictionary ^ values, System::Collections::IDictionary ^ oldValues);
protected override int ExecuteUpdate (System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);
override this.ExecuteUpdate : System.Collections.IDictionary * System.Collections.IDictionary * System.Collections.IDictionary -> int
Protected Overrides Function ExecuteUpdate (keys As IDictionary, values As IDictionary, oldValues As IDictionary) As Integer

Parameters

keys
IDictionary

The row key values for the records to update.

values
IDictionary

The row values to update in the data source.

oldValues
IDictionary

The row values that are evaluated in order to detect data conflicts.

Returns

The number of rows that were updated in the data source.

Remarks

For information about how to update data through a LinqDataSource control, see the Update(IDictionary, IDictionary, IDictionary) method of the LinqDataSource class.

Applies to

See also