Search this blog

Tuesday, September 29, 2009

DataAdapter

The DataAdapter is a ADO.NET class, it provides disconnected data access, also acting as a middleman to provide all kind of interaction between the database and a DataSet.

The DataAdapter is used either to fill a DataTable or DataSet with data from the database by it's Fill method. After the memory-resident data has been manipulated, the DataAdapter can commit the changes to the database by calling the Update method.

The DataAdapter provides four properties that represent database commands:
  • SelectCommand
  • InsertCommand
  • DeleteCommand
  • UpdateCommand

No comments:

Post a Comment