Nitin Bhardwaj

Nitin Bhardwaj

  • NA
  • 15.9k
  • 13m

Xml read in asp.net

Mar 26 2014 1:48 AM
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

Answers (2)