QueryableDataSourceView.UpdateObject Method (Object, Object)

.NET Framework (current version)
 

Updates a data object.

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

protected virtual int UpdateObject(
	object oldEntity,
	object newEntity
)

Parameters

oldEntity
Type: System.Object

The object to update.

newEntity
Type: System.Object

The updated object.

Return Value

Type: System.Int32

The number of rows that were updated in the data object.

.NET Framework
Available since 4.0
Return to top
Show: