We all know that Dataset is purely disconnected
architechure, but we also know that we can update the
changes made to the dataset can be updated in the backend
database. when there is no connection how does the update
happedn?

Answers were Sorted based on User's Feedback



We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / rumpa

By using Data Adapter Update(DataSet,DataTable)

Is This Answer Correct ?    21 Yes 6 No

We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / komal gupta

As DataAdaptor is Internally build of Select, Insert , Update and Delete Command,It can be updated via using da.Update(ds) , It will internally create Insert/Update/Delete Commnand for DataAdaptor (as per modifcation. Or else We can write specific Insert/Update/Delete Command for Every Action of User and attch these command to DataAdaptor.

Is This Answer Correct ?    4 Yes 2 No

We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / vasu

IN DataSet it will use the DataAdapter for communication
with data base when dataset updating the data DataAdapter
will open the connection automatically lost.

Is This Answer Correct ?    2 Yes 0 No

We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / venu

Ya dataset have drawback.it is not updated in database
automatically.we have to use
da.update(dataset_object,Table_name);
At this time only update the table in your database.

Is This Answer Correct ?    4 Yes 3 No

We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / neha

DataAdapter helps in updating back the database through its
update method. That is,
adapter.Update(ds);

It does this even when the connection is closed. Actually,
data adapter opens connection object to update the records,
after the records are updated, the connection is closed
again. Since there must be some path from application to
database in order to update and retrieve records. Thus, to
do this, adapter uses the connection.

Is This Answer Correct ?    1 Yes 0 No

We all know that Dataset is purely disconnected architechure, but we also know that we can update ..

Answer / kishore

we can update it by using fill();

Is This Answer Correct ?    3 Yes 14 No

Post New Answer

More ADO.NET Interview Questions

What is ado connection?

0 Answers  


What is the use of command objects?

2 Answers  


Command objects uses, purposes and their methods.

0 Answers  


How will you fill the gridview by using datatable object at runtime?

0 Answers  


What are the different namespaces used in the project to connect the database?

3 Answers  






Can a DataReader be used as a DataSource for a GridView. If it is so how will you handle paging.

3 Answers   Directi,


Explain the overview of ado.net architecture?

0 Answers  


What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?

0 Answers  


Which components of a data provider is used to retrieve, insert, delete, or modify data in a data source?

0 Answers  


How to retrieve the third table value from the data set?

2 Answers   Network Solutions,


How can we check that some changes have been made to dataset since it was loaded?

0 Answers  


What is the key feature of ADO.NET compared to ADO ?

3 Answers   TCS,


Categories