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 role of the dataset object in ado.net?
What are disadvantages of microsoft-provided data provider classes in ado.net?
Describe datareader object of ado.net with example.
What are different layers of ADO.Net?
What is a data control clerk?
What is a sqldataadapter?
What is difference between datareader and dataadapter?
Define data access layer?
What is the use of adodc?
What is ado.net in mvc?
Explain how to bind the controls(best practice) comboboxes to the data in the dataset?
What is the use of SqlCommandBuilder?
How to generate a single aggregate?
Where is adodb dll located?
What is a string variable?