OdbcCommandBuilder Constructor (OdbcDataAdapter)
Collapse the table of content
Expand the table of content

OdbcCommandBuilder Constructor (OdbcDataAdapter)

 

Initializes a new instance of the OdbcCommandBuilder class with the associated OdbcDataAdapter object.

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

public OdbcCommandBuilder(
	OdbcDataAdapter adapter
)

Parameters

adapter
Type: System.Data.Odbc.OdbcDataAdapter

An OdbcDataAdapter object to associate 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:
© 2016 Microsoft