Exemple #1
0
 protected void btnlogin_Click(object sender, EventArgs e)
 {
     try
     {
         per            = m.login(txtemail.Text, txtpassword.Text);
         Session["per"] = per;
         Response.Redirect("~/LogIn2.aspx");
     }
     catch (Exception ex)
     {
         lblwrong.Visible = true;
     }
 }