System.Web.UI.DataSourceView.CanInsert Property

Gets a value indicating whether the System.Web.UI.DataSourceView object associated with the current System.Web.UI.DataSourceControl object supports the DataSourceView.ExecuteInsert(IDictionary) operation.

Syntax

public virtual bool CanInsert { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The DataSourceView.CanInsert property reflects not only a capability of the data source control, but also whether it is currently appropriate to perform an operation. For example, even though a data source control supports the DataSourceView.ExecuteInsert(IDictionary) operation, if a required insert command or some other data is not set, the DataSourceView.CanInsert property returns false, as an insert operation would fail.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0