DataAdapter.AcceptChangesDuringFill 屬性

定義

取得或設定值,指出在任何一種 Fill 作業期間,當 DataRow 新增至 DataTable 之後,是否要在其上呼叫 AcceptChanges()

public:
 property bool AcceptChangesDuringFill { bool get(); void set(bool value); };
public bool AcceptChangesDuringFill { get; set; }
[System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")]
public bool AcceptChangesDuringFill { get; set; }
member this.AcceptChangesDuringFill : bool with get, set
[<System.Data.DataSysDescription("DataAdapter_AcceptChangesDuringFill")>]
member this.AcceptChangesDuringFill : bool with get, set
Public Property AcceptChangesDuringFill As Boolean

屬性值

如果在 AcceptChanges() 上呼叫 DataRow,則為 true,否則為 false。 預設為 true

屬性

備註

如果未 false呼叫 , AcceptChanges 且新加入的數據列會被視為插入的數據列。

適用於

另請參閱