LinqDataSourceView.Insert(IDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Performs an insert operation.
public:
int Insert(System::Collections::IDictionary ^ values);
public int Insert (System.Collections.IDictionary values);
override this.Insert : System.Collections.IDictionary -> int
Public Function Insert (values As IDictionary) As Integer
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
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om