S
Shapper
Hello,
I need to check if a textbox is returning an empty value.
When I use Response.Write(myTextBox.Text) I get the written value.
However, when I use the code:
If myTextBox.Text Is Nothing Then
Response.Write("Empty")
End If
"Empty" doesn't show even if I don't write anything in the text box.
Am I doing something wrong?
Thanks,
Miguel
I need to check if a textbox is returning an empty value.
When I use Response.Write(myTextBox.Text) I get the written value.
However, when I use the code:
If myTextBox.Text Is Nothing Then
Response.Write("Empty")
End If
"Empty" doesn't show even if I don't write anything in the text box.
Am I doing something wrong?
Thanks,
Miguel