Question about a DataSet

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

In my application, i use the dataset writexml method to persist the dataset.
When I load the dataset data from the xml file everything works fine however
the data is all strings even though the dataset had some data that was
double values. How do I get around this? Do I have to write the schema to
xml?

Thanks
 
Nevermind you do have to persist schema. I do have another question. I
designed to persist the dataset because the app will need that data at other
times in the apps life. I thought is would be better than retrieving the
data from the db (on a server). I thought that this would have less
overhead, am I correct in this assumption?

Thanks
 
Hi Kevin,


Kevin said:
Nevermind you do have to persist schema. I do have another question. I
designed to persist the dataset because the app will need that data at other
times in the apps life. I thought is would be better than retrieving the
data from the db (on a server). I thought that this would have less
overhead, am I correct in this assumption?

Sure. But you'll get old data.
 
Back
Top