Visual Studio Toolbox: Using LINQ to XML to Write XML


Previously on Visual Studio Toolbox, Robert showed how to use LINQ to XML to query data from Web sites. In this episode, Robert shows how to use LINQ to XML to write XML. He starts with a simple example that stores personal settings in an XML file, and then retrieves wines from and writes them to an XML file. This provides offline storage of the wines data. (You can think of this as the second half of his review of LINQ to XML, but last week's episode was a robust 40 minutes long while this one is a crisp 15. So it's really more like the last quarter Smiley)

Check out Robert's blog for all the code he used in this episode.



Download this episode