Editare

Partajați prin


OdbcCommandBuilder.DataAdapter Property

Definition

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

public:
 property System::Data::Odbc::OdbcDataAdapter ^ DataAdapter { System::Data::Odbc::OdbcDataAdapter ^ get(); void set(System::Data::Odbc::OdbcDataAdapter ^ value); };
public System.Data.Odbc.OdbcDataAdapter? DataAdapter { get; set; }
public System.Data.Odbc.OdbcDataAdapter DataAdapter { get; set; }
member this.DataAdapter : System.Data.Odbc.OdbcDataAdapter with get, set
Public Property DataAdapter As OdbcDataAdapter

Property Value

An OdbcDataAdapter object that is associated with this OdbcCommandBuilder.

Remarks

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.

Applies to

See also