Modifier

Partager via


LinqDataSourceView.EnableInsert Property

Definition

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

public:
 property bool EnableInsert { bool get(); void set(bool value); };
public bool EnableInsert { get; set; }
member this.EnableInsert : bool with get, set
Public Property EnableInsert As Boolean

Property Value

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

Remarks

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

Applies to