private const String FormatOverrideCols =
"<XmlDS><table1><col1>Value1</col1></table1><table1><col1>Value2</col1></table1></XmlDS>";
System.IO.StringReader xmlSR = new System.IO.StringReader(FormatOverrideCols);
ds.ReadXml(xmlSR, XmlReadMode.IgnoreSchema);
Why does this code snippet not load the data in the xml string into the dataset ??
Note the documentation on
XmlReadMode.IgnoreSchemaIf you are going to ignore the schema, you need to match the existing dataset schema. Alter (or omit) your read mode if your goal is to use the schema from the XML directly.