2
Answers

Cannot change the DataSet name once the DataSet is mapped to a loaded XML document.

Paris Hilton

Paris Hilton

16y
5.2k
1

I get the following error:

"Cannot change the DataSet name once the DataSet is mapped to a loaded XML document. "

This is my code

DataSet ds = new DataSet();
XmlDataDocument xdd = new XmlDataDocument(ds);
String fileName = Resources.FILE_NAME;
ds.ReadXmlSchema(fileName);

 

Does anyone have any idea what I could have done wrong?

Answers (2)