Load xml document with XDocument

image_pdfimage_print
   
 
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
using System.IO;


public class MainClass{

   public static void Main(string[] args){   
       XDocument ThisDoc = new XDocument();
       ThisDoc = XDocument.Load(Application.StartupPath + @"Test.XML");

   }
}

   
     


This entry was posted in XML LINQ. Bookmark the permalink.