[RESOLVED] Input number in the textbox
I want allow the decimal number or interger can be input in the textbox.No String data are allowed to be input in the textbox. I try to avoid the error input by the user using and . I used desktop computer to input the value from Keyboard. Is there a difference code between input the value from keyboard for desktop computer and notebook?
Re: Input number in the textbox
No difference. But if you want a good way of doing this have a look at Martin Liss' signature for the textbox control.
Re: Input number in the textbox
Also look at IsNumber() function in my signature. It may help.
Re: Input number in the textbox
There are also a whole lot of threads on this subject as this is a fairly common question. A search should turn up a wealth of information for you.