OleDbCommandBuilder Constructors
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.
Initializes a new instance of the OleDbCommandBuilder class.
Overloads
OleDbCommandBuilder() |
Initializes a new instance of the OleDbCommandBuilder class. |
OleDbCommandBuilder(OleDbDataAdapter) |
Initializes a new instance of the OleDbCommandBuilder class with the associated OleDbDataAdapter object. |
OleDbCommandBuilder()
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
Initializes a new instance of the OleDbCommandBuilder class.
public:
OleDbCommandBuilder();
public OleDbCommandBuilder ();
Public Sub New ()
See also
Applies to
OleDbCommandBuilder(OleDbDataAdapter)
- Source:
- OleDbCommandBuilder.cs
- Source:
- OleDbCommandBuilder.cs
Initializes a new instance of the OleDbCommandBuilder class with the associated OleDbDataAdapter object.
public:
OleDbCommandBuilder(System::Data::OleDb::OleDbDataAdapter ^ adapter);
public OleDbCommandBuilder (System.Data.OleDb.OleDbDataAdapter? adapter);
public OleDbCommandBuilder (System.Data.OleDb.OleDbDataAdapter adapter);
new System.Data.OleDb.OleDbCommandBuilder : System.Data.OleDb.OleDbDataAdapter -> System.Data.OleDb.OleDbCommandBuilder
Public Sub New (adapter As OleDbDataAdapter)
Parameters
- adapter
- OleDbDataAdapter
An OleDbDataAdapter.
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.