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

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:
© 2016 Microsoft