ObjectDesignerDataSourceView::CanDelete Property

 

Gets a value that indicates whether the associated data source control as it is currently configured can perform a Delete operation.

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

public:
property bool CanDelete {
	virtual bool get() override;
}

Property Value

Type: System::Boolean

true if the associated ObjectDataSource can perform a Delete operation; otherwise, false.

The CanDelete property returns true if the DeleteMethod property of the associated ObjectDataSource control contains a value other than the empty string ("").

.NET Framework
Available since 2.0
Return to top
Show: