Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of question mark in parameters
Message
From
07/11/2011 14:00:59
 
 
To
07/11/2011 13:57:42
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01528240
Message ID:
01528293
Views:
32
>I started to write an extension method to replace all the cases (Date, double, bool, integer, etc) when I came across this http://msdn.microsoft.com/en-us/library/3d6d4f1d.aspx
>
>So instead of testing HasValue, you can simply use something like
>
>
>  xx =  tdValue.GetValueOrDefault()
>
>or 
>
> xx = tdValue.GetValueOrDefault(oApp.GetEmptyDate())
>
>
Thanks, this is very interesting.
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
Reply
Map
View

Click here to load this message in the networking platform