QueryableDataSourceView.BuildInsertObject 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.
Creates the objects to use for the insert operation by using the values to insert and the error message to display if the operation fails.
protected:
System::Web::UI::WebControls::QueryableDataSourceEditData ^ BuildInsertObject(System::Collections::IDictionary ^ values, System::Collections::Generic::IDictionary<System::String ^, Exception ^> ^ validationErrors);
protected System.Web.UI.WebControls.QueryableDataSourceEditData BuildInsertObject (System.Collections.IDictionary values, System.Collections.Generic.IDictionary<string,Exception> validationErrors);
member this.BuildInsertObject : System.Collections.IDictionary * System.Collections.Generic.IDictionary<string, Exception> -> System.Web.UI.WebControls.QueryableDataSourceEditData
Protected Function BuildInsertObject (values As IDictionary, validationErrors As IDictionary(Of String, Exception)) As QueryableDataSourceEditData
Parameters
- values
- IDictionary
The values of the rows to insert in the data source.
- validationErrors
- IDictionary<String,Exception>
The list of conversion errors that are created by the system when a CRUD operation fails.
Returns
The objects to use for the insert operation.
Applies to
Συνεργαστείτε μαζί μας στο GitHub
Μπορείτε να βρείτε την πηγή για αυτό το περιεχόμενο στο GitHub, όπου μπορείτε επίσης να δημιουργήσετε και να εξετάσετε ζητήματα και αιτήματα έλξης. Για περισσότερες πληροφορίες, ανατρέξτε στον οδηγό συνεργατών.