Q
Q-tec
Guest
Hello,
I am trying to load this xml into a dataset. I don't get any hard errors but it just doesn't finish. I have let him execute the function ReadXml for over an hour without him getting done at all. The xml is like 6 MB in size so it should not be an issue of size. However the fact that it throws no error confuses me and I am not sure whats the issue.
Anyone here has an Idea?
I am trying to read it into dataset that way:
//doc type is XmlDocument
var doc = JsonConvert.DeserializeXmlNode(json, rootNode);
DataSet ds = new DataSet();
using (var xmlReader = new XmlNodeReader(doc))
{
ds.ReadXml(xmlReader);
//he doesn't throw an error but he does not get out of that function either. I have let him run it for over an hour with no result at all.
}
Best regards
Dev86 Technical Blog
Continue reading...
I am trying to load this xml into a dataset. I don't get any hard errors but it just doesn't finish. I have let him execute the function ReadXml for over an hour without him getting done at all. The xml is like 6 MB in size so it should not be an issue of size. However the fact that it throws no error confuses me and I am not sure whats the issue.
Anyone here has an Idea?
I am trying to read it into dataset that way:
//doc type is XmlDocument
var doc = JsonConvert.DeserializeXmlNode(json, rootNode);
DataSet ds = new DataSet();
using (var xmlReader = new XmlNodeReader(doc))
{
ds.ReadXml(xmlReader);
//he doesn't throw an error but he does not get out of that function either. I have let him run it for over an hour with no result at all.
}
Best regards
Dev86 Technical Blog
Continue reading...