Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of question mark in parameters
Message
 
 
À
07/11/2011 11:09:58
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:
01528247
Vues:
66
>>I'd say it means that tdNullable can be null http://msdn.microsoft.com/en-us/library/b3h38hb0.aspx#Y1537
>>
>>You may want to test tdNullable.HasValue to verify whether it contains a value
>
>Is there a way to avoid this question mark if there is a possiblity to receive a null value for the parameter?

I believe no. If the date can be null, then you need ? in the parameter definition.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform