ObjectDataSourceView::CanUpdate Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: