Chapter 7. Saving and Restoring Data
After completing this chapter, you will be able to:
Export a DataSet to a file in XML format
Import a previously exported DataSet from XML format
Define the structure of the exported XML content
Access the XSD schema for a DataSet or DataTable
ADO.NET isn’t the only popular format for managing data in .NET applications. XML—content crafted using the Extensible Markup Language—is another common format that provides standardized, cross-platform data management in a semi-human-readable format.
The DataSet class and the DataTable instances contained within it include features for moving data back and forth between ADO.NET and XML. This chapter demonstrates those features, focusing on the ability to serialize the contents ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access