Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Best Design For This
Message
 
À
28/03/2009 16:34:29
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01390847
Message ID:
01392005
Vues:
67
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform