Uredi

Deli z drugimi prek


OleDbCommandBuilder.DataAdapter Property

Definition

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

public:
 property System::Data::OleDb::OleDbDataAdapter ^ DataAdapter { System::Data::OleDb::OleDbDataAdapter ^ get(); void set(System::Data::OleDb::OleDbDataAdapter ^ value); };
public System.Data.OleDb.OleDbDataAdapter? DataAdapter { get; set; }
[System.Data.DataSysDescription("OleDbCommandBuilder_DataAdapter")]
public System.Data.OleDb.OleDbDataAdapter DataAdapter { get; set; }
public System.Data.OleDb.OleDbDataAdapter DataAdapter { get; set; }
member this.DataAdapter : System.Data.OleDb.OleDbDataAdapter with get, set
[<System.Data.DataSysDescription("OleDbCommandBuilder_DataAdapter")>]
member this.DataAdapter : System.Data.OleDb.OleDbDataAdapter with get, set
Public Property DataAdapter As OleDbDataAdapter

Property Value

An OleDbDataAdapter object.

Attributes

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.

Applies to

See also