OleDbCommandBuilder.DataAdapter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets an OleDbDataAdapter object for which SQL statements are automatically generated.
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
Property Value
An OleDbDataAdapter object.
- Attributes
Remarks
The OleDbCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OleDbDataAdapter specified in this property.
When you create a new instance OleDbCommandBuilder, any existing OleDbCommandBuilder associated with this OleDbDataAdapter is released.