I am using Visual Web Developer 2005 for implementing a web site that requires login. However I made the check for the valid user name and password and show login error in my default.aspx.cs file by the code segment
Code:
if (TextBox2.Text.Equals(dr["member_name"].ToString()))
      {
 if (DropDownList1.Text == "Customer")
         type = 1;
         }
        else
        {
...