Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataView/DataSet/DataReader
Message
De
09/01/2007 00:46:36
 
 
À
09/01/2007 00:28:26
Information générale
Forum:
ASP.NET
Catégorie:
ADO.NET
Divers
Thread ID:
01183234
Message ID:
01183693
Vues:
46
Well, ok ... in that case, I agree with you. =0)

~~Bonnie


>>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
>>
>
>Well, in my case, I also have several others lines such as:
>
>
>lnMonth = ldDate.Month
>lnYear = ldDate.Year
>
>
>So, pulling it from the row and then using it from the variable was a good approach in such circumstance.
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform