By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,148 Members | 759 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,148 IT Pros & Developers. It's quick & easy.

Cast weakly typed DataSet to a strongly typed dataset???

P: n/a

We have an object factory that returns weakly typed
datasets (just plain ol' DataSet's). I need to cast it, or
transform it, or map it to a strongly typed dataset.

There's an old adage I heard from a Microsoft developer a
long time ago: If it's taking more than 10 lines of code,
then you are doing it wrong.

Is there an *easy* way to do this in a *generic* way? I
have been experimenting with serveral techniques and
unless I write a very detailed routine for each conversion
from a DataSet to a strongly typed dataset (an XSD file in
our project) I can't figure it out. I have about 750 of
these routinues to write which is why I need a generic
approach.

Much thanks to the dot NET guru who can solve this dilemma!

Lars

email: La*******@imc.wellsfargo.com
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.