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

Re: Question about a DataSet by Kevin

Kevin
Wed Jan 07 17:53:01 CST 2004

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

"Kevin" <kev@yahoo.com> wrote in message
news:u5jhBdX1DHA.1184@TK2MSFTNGP10.phx.gbl...
> 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
>
>



Re: Question about a DataSet by Miha

Miha
Thu Jan 08 03:58:03 CST 2004

Hi Kevin,


"Kevin" <kev@yahoo.com> wrote in message
news:e681ApX1DHA.3416@tk2msftngp13.phx.gbl...
> 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.

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com



Re: Question about a DataSet by Kevin

Kevin
Thu Jan 08 09:48:05 CST 2004

The data in the db is static never changing.

"Miha Markic" <miha at rthand com> wrote in message
news:%23FBLp3c1DHA.2412@TK2MSFTNGP10.phx.gbl...
> Hi Kevin,
>
>
> "Kevin" <kev@yahoo.com> wrote in message
> news:e681ApX1DHA.3416@tk2msftngp13.phx.gbl...
> > 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.
>
> --
> Miha Markic - RightHand .NET consulting & software development
> miha at rthand com
> www.rthand.com
>
>



Re: Question about a DataSet by Miha

Miha
Thu Jan 08 10:07:23 CST 2004

Then it is perfect.

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

"Kevin" <kev@yahoo.com> wrote in message
news:eVBht%23f1DHA.1924@TK2MSFTNGP10.phx.gbl...
> The data in the db is static never changing.
>
> "Miha Markic" <miha at rthand com> wrote in message
> news:%23FBLp3c1DHA.2412@TK2MSFTNGP10.phx.gbl...
> > Hi Kevin,
> >
> >
> > "Kevin" <kev@yahoo.com> wrote in message
> > news:e681ApX1DHA.3416@tk2msftngp13.phx.gbl...
> > > 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.
> >
> > --
> > Miha Markic - RightHand .NET consulting & software development
> > miha at rthand com
> > www.rthand.com
> >
> >
>
>