SqlDataAdapter
Represents a set of data commands and a database connection that are used to fill the DataSet and update a SQL Server database. This class cannot be inherited.
Gets or sets a Transact-SQL statement or stored procedure to delete records from the data set.
Gets or sets a Transact-SQL statement or stored procedure to insert new records into the data source.
Gets or sets a Transact-SQL statement or stored procedure used to select records in the data source.
Gets or sets a Transact-SQL statement or stored procedure used to update records in the data source.
Occurs during Update after a command is executed against the data source. The attempt to update is made, so the event fires.
Occurs during Update before a command is executed against the data source. The attempt to update is made, so the event fires.
public SqlDataAdapter()
Initializes a new instance of the SqlDataAdapter class.
Initializes a new instance of the SqlDataAdapter class with the specified SqlCommand as the SelectCommand property.
Initializes a new instance of the SqlDataAdapter class with a SelectCommand and a SqlConnection object.
Initializes a new instance of the SqlDataAdapter class with a SelectCommand and a connection string.