Hi,
I have a xml file. and read by this code.
dataset.ReadXml(Server.MapPath(xmlPath.ToString() +"/Test_resp.xml"),XmlReadMode.Auto);
But I got an error
"Cannot add constraint to DataTable 'Item' which is a child table in two nested relations."
How to load xml in dataset. Please tell me
Xml read in asp.net
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Abhay ShankerRank #375 · 6.7K reputationPosted Mar 25, 2014, 10:06 PM EDT
dataset.ReadXml("filePath");
Nitin BhardwajRank #139 · 16.1K reputationPosted Mar 25, 2014, 10:15 PM EDT