Export (0) Print
Expand All

OleDbCommandBuilder.DataAdapter Property

Gets or sets an OleDbDataAdapter object for which SQL statements are automatically generated.

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

public OleDbDataAdapter DataAdapter { get; set; }

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft