Прочитај на енглеском Уреди

Делите путем


LinqDataSourceView.Update(IDictionary, IDictionary, IDictionary) Method

Definition

Performs an update operation.

C#
public int Update(System.Collections.IDictionary keys, System.Collections.IDictionary values, System.Collections.IDictionary oldValues);

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 to detect data conflicts.

Returns

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

Remarks

The Update method calls the ExecuteUpdate(IDictionary, IDictionary, IDictionary) method, passing the keys, values, and oldValues parameters.

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

Applies to

Производ Верзије
.NET Framework 3.5

See also