Nested table 'Message' which inherits its namespace cannot have multiple parent tables in
hi,I have complex xml file, the are many parents ,child and sub nodes. there was a message node , which is in many parent node. thing is when I am loading xx.xml file into dataset , it's causing below error:
Nested table 'Message' which inherits its namespace cannot have multiple parent tables in different namespaces
code:
var fileName = Path.GetFileName(file.FileName);
var path = Path.Combine(Server.MapPath("~/App_Data/uploads"), fileName);
file.SaveAs(path);
string xmlIn = System.IO.File.ReadAllText(path);
DataSet dsitems = new DataSet();
dsitems.ReadXml(path);// here it's causing above error.
any suggestions , how to resolve it.