Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Best Design For This
Message
 
To
28/03/2009 16:34:29
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01390847
Message ID:
01392005
Views:
71
>>Not necessarily DataSets. I'm pulling the customer data into a DS, but then I copy the data to properties on the class My Customer class has an Address collection, and when I load the customer's data I also load a collection of addresses. These addresses are classes with properties for the address data.
>
>Like Mike, I too am wondering why you are mixing DataSets and custom classes.Seems you'd want to use one or the other, but not both.
>
>~~Bonnie

I have since seen the light and have abandonded using DS's. I am now returning the data from SQL into SqlDataReaders, then using them to populate classes for each record.

Thanks!
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform