Internet is growing Every Seconds :: Industry is growing Every Year

Thursday, September 30, 2004

Public Function Input_Validation :

Public Function Input_Validation :

This function is used to validate the user input in the textbox.
It receives 4 arguments namely txt, intvalue, ascvalue and textname.
Txt – is the textbox control
Intvalue – is the options (AlphaNumeric, Alphabets, Numeric etc.,)
Ascvalue – is the keypresseventargument object
Textname – is the name of the FieldName
It checks ascii value against the entered key acts accordingly.