Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView/DataSet/DataReader
Message
From
09/01/2007 00:46:36
 
 
To
09/01/2007 00:28:26
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01183234
Message ID:
01183693
Views:
45
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
Previous
Reply
Map
View

Click here to load this message in the networking platform