Exemple #1
0
 protected void Button1_Click(object sender, EventArgs e)
 {
     Usuario u = new Usuario();
     if (u.Login(txt_correo.Text, txt_pass.Text))
     {
         Response.Redirect("../Inicio/Home.aspx");
     }
     else
     {
         Response.Redirect("Login.aspx?status=2");
     }
 }