OdbcCommandBuilder.DataAdapter Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets an OdbcDataAdapter object for which this OdbcCommandBuilder object will generate SQL statements.

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

public OdbcDataAdapter DataAdapter { get; set; }

Property Value

Type: System.Data.Odbc.OdbcDataAdapter

An OdbcDataAdapter object that is associated with this OdbcCommandBuilder.

The OdbcCommandBuilder registers itself as a listener for RowUpdating events that are generated by the OdbcDataAdapter specified in this property.

When you create a new instance of OdbcCommandBuilder, any existing OdbcCommandBuilder associated with this OdbcDataAdapter is released.

.NET Framework
Available since 1.1
Return to top