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

G

Guest

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: (e-mail address removed)
 

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