You will not receive an error because the Text property of the textbox is defined as a string. You can type anything into the textbox and it is considered a string.
You can handle the KeyPress event and put in logic to prevent numbers from being typed into the textbox. Try to implement something and if you get stuck post what you have done and I'm sure someone here will be able to help out.
Good luck!
- Brady My posts are kept as simple as possible for easier understanding. In many cases you can probably optimize or spruce up what I present. Have fun coding!
No comments:
Post a Comment