Επεξεργασία

Κοινή χρήση μέσω


SqlDataSourceView.CanUpdate Property

Definition

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

public:
 virtual property bool CanUpdate { bool get(); };
public override bool CanUpdate { get; }
member this.CanUpdate : bool
Public Overrides ReadOnly Property CanUpdate As Boolean

Property Value

true, if the operation is supported; otherwise, false.

Remarks

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

Applies to

See also