System.Data.SqlClient.SqlCommandBuilder.DataAdapter Property

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

Syntax

[System.ComponentModel.DefaultValue(null)]
public SqlDataAdapter DataAdapter { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

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

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

Requirements

Namespace: System.Data.SqlClient
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0