/// <summary> /// 作废 /// </summary> public void BlankOut() { try { bfl.ModifyBankOutAuditing(int.Parse(this.OperationCode)); } catch (Exception ex) { ApplicationLog.WriteLog(this.ToString(), ex, ""); Response.Write(Rms.Web.JavaScript.Alert(true, "作废出错:" + ex.Message)); throw ex; } }
protected void btnBankOut_Click(object sender, EventArgs e) { try { RmsOA.BFL.GK_OA_OfficialSealRegiesterBFL bfl = new RmsOA.BFL.GK_OA_OfficialSealRegiesterBFL(); bfl.ModifyBankOutAuditing(int.Parse(this.FormView1.DataKey.Value.ToString())); Response.Write("<script>window.opener.location.reload();window.close();</script>"); } catch (Exception ex) { ApplicationLog.WriteLog(this.ToString(), ex, ""); Response.Write(Rms.Web.JavaScript.Alert(true, "作废出错:" + ex.Message)); throw ex; } }