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?
Answer Posted / 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 |
Post New Answer View All Answers
What is the default provider in ado.net?
Is ado.net an orm?
What are the features of ado.net?
What is the difference between OLEDB Provider and SqlClient?
What are the ado.net objects?
What is difference in record set and dataset?
Why is it important to close an ado.net application?
Explain the difference between data reader and data set?
What providers does Ado.net uses?
What is bubbled event?
What are the classes in System.Data.Common Namespace?
How to connect and retrieve data from database using dataset
Which keyword is used to accept variable number of parameters?
What property must be set and what method must be called in your code to bind the data from some data source to the Repeater control?
Which architecture does Datasets follow?