Author: isjf | Posted on: 8/20/2009 7:38:24 PM | Views : 243

I have many TextBox have to validtor when user click the submit button
and I need to validate for all of them..  

    private void SaveBtn_Click(object sender, EventArgs e)
        {
            //check if value accurate to 2 decimal places   ex: 2.22 = OK, 2.223 = not ok
            
            /check if value is integer                 

            //check if value is not negative number

        }

does .net offer a validator control to validate decimal and negative? I only know how to validate is value negative by if (value >=0)
can you please teach me how to validator d ...

Go to the complete details ...