SqlCommandBuilder.DataAdapter Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a SqlDataAdapter object for which Transact-SQL statements are automatically generated.
public:
property System::Data::SqlClient::SqlDataAdapter ^ DataAdapter { System::Data::SqlClient::SqlDataAdapter ^ get(); void set(System::Data::SqlClient::SqlDataAdapter ^ value); };
[System.Data.DataSysDescription("SqlCommandBuilder_DataAdapter")]
public System.Data.SqlClient.SqlDataAdapter DataAdapter { get; set; }
public System.Data.SqlClient.SqlDataAdapter DataAdapter { get; set; }
[<System.Data.DataSysDescription("SqlCommandBuilder_DataAdapter")>]
member this.DataAdapter : System.Data.SqlClient.SqlDataAdapter with get, set
member this.DataAdapter : System.Data.SqlClient.SqlDataAdapter with get, set
Public Property DataAdapter As SqlDataAdapter
Property Value
A SqlDataAdapter object.
- Attributes
Remarks
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.
Applies to
See also
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.