code_junkie

Reading xml file from a resource

Nov 12th, 2011
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. XDocument doc = XDocument.Load(MyProject.Properties.Resources.XMLFile);
  2.  
  3. XDocument doc = XDocument.Parse(MyProject.Properties.Resources.XMLFile);
Add Comment
Please, Sign In to add comment