LinqDataSourceView.EnableInsert 属性

定义

获取或设置一个值,该值指示数据源视图是否支持添加新行。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

属性值

Boolean

如果视图支持插入行,则为 true;否则为 falsetrue if the view supports inserting rows; otherwise, false. 默认为 falseThe default is false.

注解

当设置控件的 EnableInsert 属性时 LinqDataSource ,也会为控件的属性设置该值 EnableInsert LinqDataSourceViewWhen you set the EnableInsert property of the LinqDataSource control, that value is also set for the EnableInsert property of the LinqDataSourceView control.

适用于