SqlCommandBuilder::DataAdapter Property
.NET Framework (current version)
Gets or sets a SqlDataAdapter object for which Transact-SQL statements are automatically generated.
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
Available since 1.1
Show: