DataAdapter Property
Collapse the table of content
Expand the table of content

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
Available since 1.1
Return to top
Show:
© 2016 Microsoft