Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbCommandBuilder::DataAdapter Property

 

Gets or sets a DbDataAdapter object for which Transact-SQL statements are automatically generated.

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

public:
[BrowsableAttribute(false)]
property DbDataAdapter^ DataAdapter {
	DbDataAdapter^ get();
	void set(DbDataAdapter^ value);
}

Property Value

Type: System.Data.Common::DbDataAdapter^

A DbDataAdapter object.

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

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft