Typed DataSets are always preferred over non typed ones in my experience.
The "typed" parts also relates to ... in the background......creates a real
class, so you can get to the data within the DataSet programmatically, and
in a type safe manner.
And a reference to read from start to finish, aka, very informative for a
bird's eye view:
*
http://msdn.microsoft.com/library/de...tml/BOAGag.asp
Id read that start to finish.
Here is a section of emphasis.
Deploying Business Entities
Business entities are used at many different tiers in your application.
Depending on how you implement your business entities, you may need to
deploy them to multiple locations if your application spans physical tiers.
The following list describes how to deploy business entities in different
implementation scenarios:
a.. Deploying Business Entities implemented as typed DataSets. The typed
DataSet class must be accessed by the Data Access Logic Component and by the
calling application. Therefore, the recommendation is to define typed
DataSet classes in a common assembly to be deployed on multiple tiers.
While typed datasets are good, sometimes there is a "better".
Custom Objects and Custom Object Collections are sometimes the next step.
I sometimes refer to typed datasets as the "poor man's business object".
Keep in mind I still use and prefer typed datasets on occasion. It depends
on what kind of project you're working on.
Go here:
http://sholliday.spaces.live.com/?_c...26ayear%3d2006
Download the code, and you'll see an example of a typed dataset vs a custom
object.
But to your question, I'd always go with a typed dataset over a non typed
one.
The previous poster who illuded to that the small price you pay up front,
pays off big time later, with maintenance and figuring out what is wrong.
...
"Ronald S. Cook" <rc***@westinis.comwrote in message
news:e%****************@TK2MSFTNGP03.phx.gbl...
I've always used untyped datasets. In a Microsoft course, it walks
through
creating typed datasets and harps on the benefits. It has you drag all
these things around ..wizard, wizard, wizard... code gen, code gen, code
gen.
What's at the end looks slick, but then there's a ton of generated code
that
I'm going to have to maintain now.
I.e. I like typing things myself (don't like wizards) so I can know
exactly
what I've done.
What's the thought on using typed vs untyped datasets? Am I just being
prehistoric and need to get with it?
Thanks,
Ron