I have some textboxes which are mapped to primary key fields in the database and I don’t want the users to write in any language other than english or numbers or undersore even if the use manually switches the input language to anything else. How can I achieve the same. I’m on .net 2.0 so no fancy stuff. Please help.
Share
You can check your input using
Regex.This pattern will match any English letter
[a-zA-Z]For example Russian ю will not match
Handle the KeyPress event to achieve needed functionality