Find the error:
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
XmlElement root = doc.DocumentElement;
if ( doc == null )
{
throw new InvalidDataException("No valid xml");
}
.............
Find the error:
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
XmlElement root = doc.DocumentElement;
if ( doc == null )
{
throw new InvalidDataException("No valid xml");
}
.............
This entry was posted on Tuesday, February 28th, 2012 and is filed under Code Bash. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.