Editar

Share via


QueryableDataSourceView.BuildInsertObject Method

Definition

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