C gridview updating
At the end of the day, the sales person will connect to the network and update changes for overnight processing.
Another scenario is making a Web site more scalable.
This avoids a trip to the database, making your application more efficient.
Exceptions to the scenario above include situations where you need to update data.
A couple scenarios illustrate why you would want to work with disconnected data: people working without network connectivity and making Web sites more scalable.
It is the Sql Data Adapter that manages connections with the data source and gives us disconnected behavior.
The Sql Data Adapter opens a connection only when required and closes it as soon as it has performed its task.
However there is one overload that accepts a string for the name of the Data Set, which is used if you were to serialize the data to XML.
Since that isn’t a requirement for this example, I left it out.