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
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre