Edit

Share via


ObjectDesignerDataSourceView.CanInsert Property

Definition

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

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

Property Value

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

Remarks

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

Applies to

See also