共用方式為


OleDbCommandBuilder.DataAdapter 屬性

定義

取得或設定會自動產生 SQL 陳述式的 OleDbDataAdapter 物件。

public:
 property System::Data::OleDb::OleDbDataAdapter ^ DataAdapter { System::Data::OleDb::OleDbDataAdapter ^ get(); void set(System::Data::OleDb::OleDbDataAdapter ^ value); };
public System.Data.OleDb.OleDbDataAdapter? DataAdapter { get; set; }
[System.Data.DataSysDescription("OleDbCommandBuilder_DataAdapter")]
public System.Data.OleDb.OleDbDataAdapter DataAdapter { get; set; }
public System.Data.OleDb.OleDbDataAdapter DataAdapter { get; set; }
member this.DataAdapter : System.Data.OleDb.OleDbDataAdapter with get, set
[<System.Data.DataSysDescription("OleDbCommandBuilder_DataAdapter")>]
member this.DataAdapter : System.Data.OleDb.OleDbDataAdapter with get, set
Public Property DataAdapter As OleDbDataAdapter

屬性值

OleDbDataAdapter 物件。

屬性

備註

會將OleDbCommandBuilder本身註冊為這個屬性中所指定之 所OleDbDataAdapter產生事件的接聽程式RowUpdating

當您建立新的實例OleDbCommandBuilder時,會釋出與此相關聯的OleDbDataAdapter任何現有OleDbCommandBuilder實例。

適用於

另請參閱