Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataView/DataSet/DataReader
Message
De
09/01/2007 00:26:50
 
 
À
08/01/2007 12:34:44
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01183234
Message ID:
01183689
Vues:
35
>Yes, but I like clean code for several reason such as understandability when reading the code.

Personal preference then I guess. Personally, I think this:
lnMonth = CDATE(loRow("Date")).Month
is much cleaner and easier to understand than this:
Dim ldDate AS Date = Date.Now
ldDate = loRow("Date")
lnMonth = ldDate.Month
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform