Saving retrieving DataSet

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a DataSet with different types of data i.e. string, int , bool, etc.
When i save it using the default WriteXml method, the data types are lost.
When I use WriteXml(xmlWriter, XmlWriteMode.WriteSchema) method, I am getting
the types in the file, but i am getting an exception when trying to read it.

The default method suppose to work according to the documetation to
DataSet.ReadXml, but it does not!

Is there a way to save retrieve a DataSet without loosing the data types?

Thanks,

Val
 
Back
Top