CanInsert Property

ModelDataSourceView.CanInsert Property

.NET Framework 4.6 and 4.5

Gets a value that indicates whether the ModelDataSourceView object that is associated with the current ModelDataSource control supports the insert operation.

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

public override bool CanInsert { get; }

Property Value

Type: System.Boolean

true if the operation is supported; otherwise, false.

Returns true if the InsertMethod property has a value.

.NET Framework
Available since 4.5
Return to top
© 2015 Microsoft