Exemple #1
0
 protected void btnSave_Click(object sender, EventArgs e)
 {
     if (Valiate())
     {
         try
         {
             DefaultPolicy policy = saveInfo();
             PolicyManageService.SaveDefaultPolicy(policy, this.CurrentUser.UserName);
             RegisterScript("alert('保存成功');window.location.href='default_policy_manage.aspx';", false);
         }
         catch (Exception ex)
         {
             ShowExceptionMessage(ex, "保存");
         }
     }
 }