LINQ to XML Code Posted!

I just posted the code from Monday's webcast on Linq to XML. Registered users can access the code from the download site on In the webcast we covered a lot of topics including how to create XML fragments in both VB and C#, and also how to query. The key to querying is to work against the new collection of XML classes including XDocument and XElement. We created a customer list in XML from a SQL Server database and then saved the results to file. Then we loaded the file into an XElement and ran a LINQ query against it.

So if that's what you're looking for, check out the webcast. For more info on the complete series check out