OleDbCommandBuilder::DataAdapter Property

 

Gets or sets an OleDbDataAdapter object for which SQL statements are automatically generated.

Namespace:   System.Data.OleDb
Assembly:  System.Data (in System.Data.dll)

public:
property OleDbDataAdapter^ DataAdapter {
	OleDbDataAdapter^ get();
	void set(OleDbDataAdapter^ value);
}

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.

.NET Framework
Available since 1.1
Return to top
Show: