LinqDataSource.Insert Method (IDictionary)
Performs an insert operation.
Assembly: System.Web.Extensions (in System.Web.Extensions.dll)
Typically, you do not have to call themethod from your code. The data-bound control will automatically call the method when the user takes action to insert a new record. You explicitly call the method when you want to create your own process for inserting data.
The following example shows how to programmatically insert a new record in the data source after the user clicks a button. The code passes a ListDictionary object that contains default values to the method.
The following example shows the markup for the previous example.
Available since 3.5