Edit

Share via


OleDbCommandBuilder Constructors

Definition

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

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.

See also

Applies to