Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Nothing vs = Nothing vs IsNothing()
Message
 
À
11/07/2003 08:21:43
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00809151
Message ID:
00809194
Vues:
33
>All,
>
>What is the difference between:
>
>IF txtTextBox.Value = Nothing
>
>and
>
>IF txtTextBox.Value Is Nothing
>
>and
>
>If IsNothing(txtTextBox.Value)?
>
>If no information is entered in the textbox, the first statement is True while the second and third are False.
>
>TIA
>
>Rex

Value comparison versus object comparison.
Brian Seekford
Seekford Solutions, Inc.
http://www.SeekfordSolutions.com
Internet ActiveX Controls and .NET Class Libraries.
SMTP/S FTP POP3/S HTTP/S SNTP MIME PING WHOIS TRACEROUTE NNTP DNS MX
Base64, UUEncode, yEnc, MD5, SHA1, URL, Quoted-Printable.
Resizer and Tooltips
Email Verification and more. Check us out!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform