Exemple #1
0
 protected void Refuse_Click(object sender, EventArgs e)
 {
     x             = StudentBLL.FindAboutId(Session["stuid"].ToString());
     a.condition   = "拒绝";
     a.agreepeople = x.Name;
     if (VacationBLL.Revise(a))
     {
         Response.Redirect("/WebReturn/VacationNew_Return.aspx");
     }
     else
     {
         Response.Write("<script>alert('审批失败,请稍后再尝试!');history.back();</script>");
     }
 }