How do you define a method for text box validation?

May 22 2008 3:15 AM

Validation ----> Lock the text box without enabling to enter a single letter or a digit or a space or anything.

I just want to know that how do you do hard coding for validation of a text box. If it's a method or seperate function that would be easy for me. Then, it's easy for me to reuse that coding in the key press event of each text box.

 

 

 


Answers (4)