Пример #1
0
 protected void btndelAdmin_Click(object sender, System.EventArgs e)
 {
     if (this.Session["twopass"] != null && this.Session["twopass"].ToString().Trim() == "IsAllowDel")
     {
         if (!PMAction.DelPrjInfoLogic(this.hdnModuleCode.Value.ToString()))
         {
             this.Page.RegisterStartupScript("warn", "<script language=\"JavaScript\">alert('删除失败!');</script>");
         }
         this.ShowTaskList();
     }
 }