Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

What is the role of clr?

1001


Describe connection object in ado.net

1098


What is maximum pool size in ado.net connection string?

1020


What are the benefits of using of ADO.NET in .NET 4.0?

1153


What are the methods of XML dataset object?

1063


How we can provide data to ado.net?

1125


Does sqlclient and oledb class share the same functionality?

984


What is ado oledb and odbc?

986


What is ado and dao?

1006


Explain what are the steps to connect to a database?

1016


Can we do database operations without using any of the ado.net objects?

1041


What is the difference between sqldatareader and sqldataadapter?

1020


Explain how to find the given query is optimised one or not?

1095


Explain About ado.net components/objects. Usage of data adapters and tell the steps to retrieve data.

1186


What are different layers of ADO.Net?

1144