Problem in convert xml to dataset
-
Hi all, Im getting the error while converting xml to a dataset.Please help me.
Cannot add a column named 'PerUser': a nested table with the same name already belongs to this DataTable.
I suspect the error means what it says. What have you done to try to correct it ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
-
I suspect the error means what it says. What have you done to try to correct it ?
Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
Im converting xml file to dataset using the following code.
TextWriter twHistory = new StreamWriter(location + ".xml");
twHistory.WriteLine(XMLdoc);
twHistory.Close();
DataSet dsHistoryXml = new DataSet();
dsHistoryXml.ReadXml(location + ".xml");While reading the xml document the above mentioned error returns.
Cannot add a column named 'PerUser': a nested table with the same name already belongs to this DataTable.