LinqDataSourceView.DeleteDataObject Method (Object, Object, Object)

 

Deletes a data object from a table.

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

protected virtual void DeleteDataObject(
	object dataContext,
	object table,
	object oldDataObject
)

Parameters

dataContext
Type: System.Object

The data context of the object to delete.

table
Type: System.Object

The table that contains the object to delete.

oldDataObject
Type: System.Object

The object to delete.

.NET Framework
Available since 3.5
Return to top
Show: