LinqDataSourceView.EnableInsert Property


Gets or sets a value that indicates whether the data source view supports adding new rows.

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

public bool EnableInsert { get; set; }

Property Value

Type: System.Boolean

true if the view supports inserting rows; otherwise, false. The default is false.

When you set the EnableInsert property of the LinqDataSource control, that value is also set for the EnableInsert property of the LinqDataSourceView control.

.NET Framework
Available since 3.5
Return to top