OleDbCommandBuilder Constructor (OleDbDataAdapter)


Initializes a new instance of the OleDbCommandBuilder class with the associated OleDbDataAdapter object.

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

public OleDbCommandBuilder(
	OleDbDataAdapter adapter

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