Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Use of question mark in parameters
Message
 
 
À
09/11/2011 11:20:49
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:
01528503
Vues:
35
>>>No. What I'm saying is that I think your If should be this:
>>>
>>>
>>>            If Not tcValue = null Then
>>>
>>
>>Well, this is not supported. This is why I showed the other syntax.

>
>OK ... guess it must be my ignorance of VB. Not sure why VB doesn't like that though. Works fine in C#.
>
>    if (tcValue != null)
>
>Weird!

In VB it will be
if tcValue Is Nothing
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