Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie question - Strongly Typed DS
Message
From
16/10/2010 12:53:47
 
 
To
15/10/2010 14:53:50
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01485576
Message ID:
01485744
Views:
45
>BTW, there's some movement to not use DataSets but DataTables, or even better Entity Framework. Just something else to throw onto your learning list.

Really? Why in the world would one want to use only DataTables? There's really little overhead in having a DataSet, even if contains only one DataTable. And then you can easily add additional DataTables when/if you need them. Be consistent and always use a DataSet for transporting your data around between objects and layers, instead of sometimes using a DataSet and sometimes using a DataTable.

Unless, of course, you meant individual methods that only work on one DataTable, then yes, passing only the DataTable into the method would be ok. Or with DataBinding.

As far as Entity Framework, I still have not taken a taste of the Kool-Aid on that one, so I can't comment. <g>

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform