LinqDataSourceView::Insert Method (IDictionary)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Performs an insert operation.
Namespace: System.Web.UI.WebControls
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Parameters
- values
- Type: System.Collections::IDictionary
A dictionary that specifies the data to insert.
| Exception | Condition |
|---|---|
| InvalidOperationException | The LinqDataSource control cannot create the data classes. |
| NotSupportedException | The CanInsert property is false. |
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.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: