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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.