ObjectDesignerDataSourceView.CanInsert Property


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

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

public override bool CanInsert { get; }

Property Value

Type: System.Boolean

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

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

.NET Framework
Available since 2.0
Return to top