Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

C# read data from XML File

$
0
0

Hello Experts,

i try to read data from XML File but i always get an Error: Data at the root level is invalid. Line 1, position 1.

The Error must be there:

XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
doc.PreserveWhitespace = false;
XmlNode root = doc.DocumentElement;


Can someone help me? 

Kind Regards
Léon


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images