12
Answers

Text box validation for numbers and decimal in c#

Photo of NAGARAJU TAMADA

NAGARAJU TAMADA

11y
71.4k
1
Hi to all
            I need a solution for How to restrict a textbox to allow two numbers before and after the decimal point (Like 12.12 , 23.22 ,25.65 only) in Keypress event. Igot the after the decimal point,but i didn't get the before the decimal point .please reply me 

Regards 
Nagaraju T

Answers (12)