ObjectDataSourceView::CanUpdate Property

 

Gets a value indicating whether the ObjectDataSourceView object that is associated with the current ObjectDataSource control supports the update operation.

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

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

Property Value

Type: System::Boolean

true, if the operation is supported; otherwise, false. Updating is not supported if the UpdateMethod property is an empty string ("").

The CanUpdate property returns true, if the UpdateMethod property is set. A update operation could still fail, if all the data properties are not set or are not set correctly.

.NET Framework
Available since 2.0
Return to top
Show: