Exemplo n.º 1
0
 protected void btnReg_Click(object sender, EventArgs e)
 {
     if (DBComponent.authenticateUser(txtunm.Text.Trim()))
     {
         this.Session["unm"] = txtunm.Text;
         Response.Redirect("~/Menu.aspx");
     }
     else
     {
         lblMsg.Text = "SMS Your Password";
     }
 }