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

创建新的实例 时,将释放与此关联的OleDbDataAdapter任何现有OleDbCommandBuilder实例OleDbCommandBuilder

适用于

另请参阅