Data Access: How-To Create an Offline Application
Demonstrates how to use the DataSet objects built-in methods to allow
an application to work with data on or off line.
Featured Highlights:
-
Persists data and row state information from a DataSet into an XML file.
-
Reads data and row state information from an XML file into a DataSet.
-
Updates a SQL Server database with changes made to the DataSet
-
SqlCommandBuilder is used to build the Insert, Update and Delete commands for
the SQL DataAdapter
Requirements:
Microsoft Visual Studio.NET Professional or greater.
Windows 2000 or Windows XP
Running the Sample:
Simply press F5.
See Also
For more information on the SQL Command Builder go to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconautomaticallygeneratedcommands.asp
For more information on DiffGrams go to:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpcondiffgrams.asp