QueryableDataSourceView.UpdateObject Method (Object, Object)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: