Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

QueryableDataSourceView.DeleteObject Method

.NET Framework 4.6 and 4.5

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


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

Supported in: 4.6, 4.5, 4
© 2015 Microsoft