Пример #1
0
 protected void UpdateApplicant_Click(object sender, EventArgs e)
 {
     if (Session["pwID"] != null)
     {
         c_office.pwalletID = Session["pwID"].ToString();
     }
     c_office.data_status  = select_xoffice.SelectedValue.Split(new char[] { '|' })[0];
     c_office.admin_status = select_xoffice.SelectedValue.Split(new char[] { '|' })[1];
     c_office.xcomment     = "REVERSAL PROCESS: " + txt_comment.Text;
     c_office.xdoc1        = "";
     c_office.xdoc2        = "";
     c_office.xdoc3        = "";
     c_office.xofficer     = Session["pwalletID"].ToString();
     c_office.reg_date     = DateTime.Today.Date.ToString("yyyy-MM-dd");
     c_office.xvisible     = "1";
     if (z.addReversal(c_office) > 0)
     {
         txt_comment.Text             = "";
         select_xoffice.SelectedIndex = 0;
         if (Session["edit_transID"] != null)
         {
             trans_status = "<strong>THE STATUS FOR TRANSACTION ID " + Session["edit_transID"].ToString() + " FOR HAS BEEN UPDATED SUCCESSFULLY!!</strong>";
         }
         showt = 1;
     }
 }