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?
Ahmed.C
0
Junior Poster in Training
Recommended Answers
Jump to PostIs there a legitimate way?
It is legitimate. Perhaps you're looking for:
String.IsNullOrEmpty(TextBox1.Text)
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.