Hi,

I have an untyped DataSet object and a typed DataSet class, by design the
structures match, I want to cast!!! my untyped DataSet object into with my
typed
DataSet class. Can I do this, whitout having to manually copy the data
between the untyped to the typed ?

Thanks
JF

Re: Untyped DataSet cast into a Typed DataSet ? by Chris

Chris
Fri Oct 01 08:36:57 CDT 2004

I don't believe you can cast but you can user the Merge function of the
strongly typed dataset to get the data in there quickly. I believe it uses
the actual table and column names to do the merge so you might want to make
sure they match up.


"Jean-Francois Hamelin" <againstunwantedmailinglist@hotmail.com> wrote in
message news:%23r2WMs7pEHA.3244@tk2msftngp13.phx.gbl...
> Hi,
>
> I have an untyped DataSet object and a typed DataSet class, by design the
> structures match, I want to cast!!! my untyped DataSet object into with my
> typed
> DataSet class. Can I do this, whitout having to manually copy the data
> between the untyped to the typed ?
>
> Thanks
> JF
>
>
>



Re: Untyped DataSet cast into a Typed DataSet ? by Jean-Francois

Jean-Francois
Fri Oct 01 08:46:00 CDT 2004

Thanks for the info.

"Chris Alm" <none@none.com> wrote in message
news:Z3d7d.2451597$6p.414875@news.easynews.com...
> I don't believe you can cast but you can user the Merge function of the
> strongly typed dataset to get the data in there quickly. I believe it uses
> the actual table and column names to do the merge so you might want to
make
> sure they match up.
>
>
> "Jean-Francois Hamelin" <againstunwantedmailinglist@hotmail.com> wrote in
> message news:%23r2WMs7pEHA.3244@tk2msftngp13.phx.gbl...
> > Hi,
> >
> > I have an untyped DataSet object and a typed DataSet class, by design
the
> > structures match, I want to cast!!! my untyped DataSet object into with
my
> > typed
> > DataSet class. Can I do this, whitout having to manually copy the data
> > between the untyped to the typed ?
> >
> > Thanks
> > JF
> >
> >
> >
>
>