Text box validation for numbers and decimal in c#
                            
                         
                        
                     
                 
                
                    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