6
Answers

How to Validate a TextBox to accept only string Not any numeric(int ,decimal...)

Photo of Behrouz Hosseini

Behrouz Hosseini

14y
13.2k
1
Hi guys,
I just wonder how i can validate a TextBox( like txtName) to accept just name string not any numeric value?
Cloud u please let me know how I can do it? should I use a try and catch block?
Thanks

Answers (6)