PC Review


Reply
Thread Tools Rate Thread

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

 
 
Guest
Posts: n/a
 
      18th Sep 2003

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 Removed)


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is weakly type dataset same as untype dataset? =?Utf-8?B?UGV0ZXI=?= Microsoft VB .NET 3 18th Aug 2007 08:40 AM
Strongly Typed DataSet Vs Un-Typed Dataset =?Utf-8?B?Sm9iIExvdA==?= Microsoft Dot NET 1 5th May 2005 08:43 AM
Re: Casting from Generic DataSet to strongly Typed DataSet Sahil Malik Microsoft ADO .NET 0 7th Mar 2005 08:38 PM
convert a weakly named assembly to a strongly named =?Utf-8?B?QXZpbiBQYXRlbA==?= Microsoft Dot NET 3 21st Jan 2005 08:37 PM
Convert regular DataSet to strongly typed DataSet moondaddy Microsoft ADO .NET 3 20th Apr 2004 08:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:54 AM.