what are basic methods of data adapterthe three


What are basic methods of Data adapter?

The three most commonly used methods of Dataadapter are as follows:-

1)Fill :- It Executes the SelectCommand to fill the DataSet object with the data from the data source. This can also be used to update (refresh) an existing table in a DataSet with changes made to the data in the original datasource if there is a primary key in the table in the DataSet.

2)FillSchema :-It Uses the SelectCommand to extract the schema for a table from the data source, and generates an empty table in the DataSet object with all  corresponding constraints.

3)Update:- It Calls the respective InsertCommand,DeleteCommand , or  UpdateCommand for every inserted, deleted,or updated  row in the DataSet so as to update the original data source with the changes made to the content of the DataSet. This is few like the UpdateBatch method provided by the ADO Recordset object, but in the DataSet it can be used to update more than one table.

Request for Solution File

Ask an Expert for Answer!!
DOT NET Programming: what are basic methods of data adapterthe three
Reference No:- TGS0161341

Expected delivery within 24 Hours