Ejemplo n.º 1
0
 protected void nextBtn_Click(object sender, EventArgs e)
 {
     AdminServices Lg = new AdminServices();
     if (Lg.CheckReset(userName.Text, phoNum.Text))
     {
         Response.Write("<script>alert('验证成功')</script>");
         resetBtn.Enabled = true;
     }
     else
     {
         Response.Write("<script>alert('验证失败')</script>");
         userName.Text = string.Empty;
         phoNum.Text = string.Empty;
     }
 }