LINQ to XML Programming Using Visual Basic.NET 2008
(Page 1 of 6 )
This article mainly focuses on manipulating XML documents using LINQ to XML, available in .NET Framework 3.5. In simple terms, we will design a Windows Form and do all CRUD operations against an existing XML document using LINQ to XML. We will also see how to use XPath in LINQ to XML.
To make the article simple, I designed a Windows Form as follows.

The following is the structure of the XML being followed in this article.

The explanation for the above XML (and basics of XML DOM/API in .NET Framework) is explained in my previous article titled "Visual Basic 2005 XML Programming using XML DOM" along with a sample XML document. To keep this article to the point, I will not repeat the same explanation here.
The entire source code for this article is available in the form of a free downloadable zip file. The solution was developed using Microsoft Visual Studio 2008 on Microsoft Windows Server 2003 Standard Edition (with SP3). I didn't really test it in any other environment. I request that you post in the discussion area if you have any problems in execution.
Next: Loading/Searching XML document with LINQ to XML using Visual Basic 2008 >>
More Visual Basic.NET Articles
More By Jagadish Chaterjee