QueryableDataSourceView::DeleteObject Method (Object^)

.NET Framework (current version)
 

Deletes a data object from a table.

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

protected:
virtual int DeleteObject(
	Object^ oldEntity
)

Parameters

oldEntity
Type: System::Object^

The data object to delete.

Return Value

Type: System::Int32

The number of rows that were deleted from the data object.

.NET Framework
Available since 4.0
Return to top
Show: