Hi. I just wanted to know if there is anyway to make a textbox recognise if there is text or not. I don't want it to be textbox1.text = "". Is there a legitimate way?

Is there a legitimate way?

It is legitimate. Perhaps you're looking for: String.IsNullOrEmpty(TextBox1.Text)

Thank you!. That seemed to work.