Hi
I am trying to query when a textbox is nothing, but it doesn´t seem to work, and I can´t see nothing wrong with it,the code:

VB Code:
  1. If Not IsNothing(TextBox1.Text) Then
  2.                  
  3. do sth
  4.  
  5. end if
I have a textbox which I leave empty. "If not isnothing(textbox.text)" still evaluates to true, so runs the code in "do sth", when I think it should ignore the "do sth " code.


I have run this in debug mode, and the textbox has the value of texbox1.text ="" , so the textbox is actually nothing.

What is going on here?
Thanks.