LinqDataSourceView.UpdateDataObject Method (Object, Object, Object, Object)

 

Updates a data object.

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

protected virtual void UpdateDataObject(
	object dataContext,
	object table,
	object oldDataObject,
	object newDataObject
)

Parameters

dataContext
Type: System.Object

The data context class to update.

table
Type: System.Object

The data collection that contains the object to update.

oldDataObject
Type: System.Object

The object to be updated.

newDataObject
Type: System.Object

The updated object.

.NET Framework
Available since 3.5
Return to top
Show: