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
属性值
如果视图支持插入行,则为 true;否则为 false。true if the view supports inserting rows; otherwise, false. 默认为 false。The default is false.
注解
当设置控件的 EnableInsert 属性时 LinqDataSource ,也会为控件的属性设置该值 EnableInsert LinqDataSourceView 。When you set the EnableInsert property of the LinqDataSource control, that value is also set for the EnableInsert property of the LinqDataSourceView control.