2
Answers

Xml read in asp.net

Nitin Bhardwaj

Nitin Bhardwaj

10y
1k
1
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)