Author: Pankaj18 | Posted on: 7/11/2009 4:04:14 AM | Views : 220

Hi all,
I am using below code for check space but it generate errors.
my Code::
string str = TextBox1.Text;
        int l = str.Length;
        int i;
        for (i = 0; i < l; i++)
        {
            if (str[i] == " ")
            {
                Response.Write("Invalid");
            }
            else
            {
              & ...

Go to the complete details ...