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


Please Help Members By Posting Answers For Below Questions

How do you implement locking concept for dataset?

536


What is a data control clerk?

561


What are all components of ADO.Net data provider?

595


What is ado.net connection?

453


What is the significance of CommandBehavior.CloseConnection ?

555






What is execute scalar in ado.net?

487


What is ado.net in mvc?

487


Explain the difference between sqlcommand object and command behavior object?

520


Which is the feature of ado.net?

508


how to create a quiz software using 4 options to answer and how to check with answers in the database and award marks....

3698


What is untyped dataset?

534


What is linq and entity framework?

504


How can we serialize the dataset object?

548


What is the difference between typed and untyped dataset?

497


Which method is used by command class to execute SQL statements that return single value?

544