6
Reply

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

Behrouz Hosseini

Behrouz Hosseini

Jun 20 2010 5:39 AM
12.6k
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)