Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataView/DataSet/DataReader
Message
From
09/01/2007 00:28:26
 
 
To
09/01/2007 00:26:50
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
01183234
Message ID:
01183690
Views:
45
>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.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform