What methods does DataAdapter provide in ADO.NET?

Question

What methods does DataAdapter provide in ADO.NET?

Re: What methods does DataAdapter provide in ADO.NET?

The DataAdapter includes three main methods:
* Fill (populates a DataSet with data).
* FillSchema (queries the database for schema information that is necessary to update).
* Update (to change the database, DataAdapter calls the DeleteCommand, the InsertCommand and the UpdateCommand properties).

 
 

Re: What methods does DataAdapter provide in ADO.NET?

Can you explain all 3 in details ?

 
 

Re: What methods does DataAdapter provide in ADO.NET?

1)ad.Fill : this method is used to fill the table records into dataset from selected table from the database .
2)ad.update : this is method is used to update the dataset into the database
with modified/new records added into the database