Beispiel #1
0
 protected void Login_Button_Click(object sender, EventArgs e)
 {
     Declared_Classes.Login Login_Object = new Declared_Classes.Login();
     string userid = Login_Object.check_user(User_Name_Label.Text, Password_Label.Text);
     userid = userid.TrimEnd(' ');
     if (userid != "")
     {
         Message_Label.Visible = false;
         Response.Redirect("Home_Screen.aspx?");
     }
 }
    protected void Login_Button_Click(object sender, EventArgs e)
    {
        Declared_Classes.Login Login_Object = new Declared_Classes.Login();
        string userid = Login_Object.check_user(User_Name_Label.Text, Password_Label.Text);

        userid = userid.TrimEnd(' ');
        if (userid != "")
        {
            Message_Label.Visible = false;
            Response.Redirect("Home_Screen.aspx?");
        }
    }