QueryableDataSourceView.BuildUpdateObjects Method (IDictionary, IDictionary, IDictionary, IDictionary<String, Exception>)

.NET Framework (current version)
 

Creates the objects to use for the update operation by using the specified values.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

protected QueryableDataSourceEditData BuildUpdateObjects(
	IDictionary keys,
	IDictionary values,
	IDictionary oldValues,
	IDictionary<string, Exception> validationErrors
)

Parameters

keys
Type: System.Collections.IDictionary

The keys of the rows to update.

values
Type: System.Collections.IDictionary

The values of the rows to update in the data source.

oldValues
Type: System.Collections.IDictionary

The row values to evaluate in order to detect data conflicts.

validationErrors
Type: System.Collections.Generic.IDictionary<String, Exception>

The list of conversion errors that are created by the system when a CRUD operation fails.

Return Value

Type: System.Web.UI.WebControls.QueryableDataSourceEditData

The objects to use for the update operation.

.NET Framework
Available since 4.0
Return to top
Show: