A DataAdapter is used to retrieve data from a data source and populate tables within a DataSet
The DataAdapter also resolves the changes made to the DataSet back to the data source
It uses the Connection object of the .net framework data provider to connect to a data source
It used Command object to retrieve data from and resolve changes to the data source
Mainly used properties of DataAdapter
SelectCommand, UpdateCommand, InsertCommand, DeleteCommand
Fill is used to populate the dataset with the results of SelectCommand
Fill arguments are a DataSet and DataTable objects
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment