SqlCommandBuilder::DataAdapter Property

 

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

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

public:
property SqlDataAdapter^ DataAdapter {
	SqlDataAdapter^ get();
	void set(SqlDataAdapter^ value);
}

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

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

.NET Framework
Available since 1.1
Return to top
Show: