LinqDataSourceView.EnableInsert 屬性

定義

取得或設定值,表示資料來源檢視是否支援加入新的資料列。

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。 預設為 false

備註

當您設定 EnableInsert 控制項的 LinqDataSource 屬性時,也會為 EnableInsert 控制項的 LinqDataSourceView 屬性設定該值。

適用於