Question about a DataSet

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
 
K

Kevin

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
 
M

Miha Markic

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top