Untyped DataSet cast into Typed DataSet ?

  • Thread starter Jean-Francois Hamelin
  • 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
 
J

Jean-Francois Hamelin

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
 

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