ObjectDesignerDataSourceView.CanUpdate Property


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

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

public override bool CanUpdate { get; }

Property Value

Type: System.Boolean

true if the associated ObjectDataSource can perform an Update operation; otherwise, false.

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

.NET Framework
Available since 2.0
Return to top