Untyped DataSet cast into Typed DataSet ?

  • Thread starter Thread starter Jean-Francois Hamelin
  • Start date Start date
J

Jean-Francois Hamelin

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
 
Thanks for the confirmation.

Miha Markic said:
Hi,

No, since typed dataset is derived from untyped.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Jean-Francois Hamelin said:
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
 
Back
Top