Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of question mark in parameters
Message
De
07/11/2011 14:00:59
 
 
À
07/11/2011 13:57:42
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01528240
Message ID:
01528293
Vues:
31
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform