OdbcCommandBuilder::DataAdapter Property

 

Gets or sets an OdbcDataAdapter object for which this OdbcCommandBuilder object will generate SQL statements.

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

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

Property Value

Type: System.Data.Odbc::OdbcDataAdapter^

An OdbcDataAdapter object that is associated with this OdbcCommandBuilder.

The OdbcCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OdbcDataAdapter specified in this property.

When you create a new instance of OdbcCommandBuilder, any existing OdbcCommandBuilder associated with this OdbcDataAdapter is released.

.NET Framework
Available since 1.1
Return to top
Show: