Information générale
Titre:
Is Nothing vs = Nothing vs IsNothing()
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement