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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για