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
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.