G
Guest
How can I grantee that user enter only number in the textbox. If possible
accept ","and "." in the number. Can I do this?
accept ","and "." in the number. Can I do this?
JIM.H. said:How can I grantee that user enter only number in the textbox. If possible
accept ","and "." in the number. Can I do this?
John Saunders said:Take a look at the validator controls. You can validate that the textbox is
non-empty, has a number in it and you can even validate that the number be
within a particular range of values.
John Saunders
JIM.H. said:can someone give me validation string?
JIM.H. said:that might help. I have another related question, I defined myVar as
double
and it seems myVar=myTextBox.Text statement converts text to double
without
problem. Do you see any problem in that?
How can I grantee that user enter only number in the textbox. If possible
accept ","and "." in the number. Can I do this?