SqlCommandBuilder Constructor (SqlDataAdapter^)
.NET Framework (current version)
Initializes a new instance of the SqlCommandBuilder class with the associated SqlDataAdapter object.
Assembly: System.Data (in System.Data.dll)
Parameters
- adapter
-
Type:
System.Data.SqlClient::SqlDataAdapter^
The name of the SqlDataAdapter.
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: