grouchyfd
asked on
I need to use an "If...Then" statement to check for text in a textbox. How do I do this?
In my app, I have a search form that will search the database using the text in the textbox. I would like an If...Then...Else statement to check to see if there is text in the textbox or not,
If textbox1. text = ?
Then
Something happens
Else
Messagebox.Show("message", etc.)
I can't seem to figure out what property to use to check if there is text in the textbox.
Thanks
If textbox1. text = ?
Then
Something happens
Else
Messagebox.Show("message",
I can't seem to figure out what property to use to check if there is text in the textbox.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER