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

Делите путем


LinqDataSourceView.Insert(IDictionary) Method

Definition

Performs an insert operation.

C#
public int Insert(System.Collections.IDictionary values);

Parameters

values
IDictionary

A dictionary that specifies the data to insert.

Returns

The number of rows that were inserted into the data source.

Exceptions

The LinqDataSource control cannot create the data classes.

The CanInsert property is false.

Remarks

The Insert method calls the ExecuteInsert(IDictionary) method, passing the values parameter.

For information about how to insert data through the LinqDataSource control, see the Insert(IDictionary) method of the LinqDataSource class.

Applies to

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

See also