コード例 #1
0
ファイル: edit_status2.aspx.cs プロジェクト: ozotony/Cldx
        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('|')[0];
            c_office.admin_status = select_xoffice.SelectedValue.Split('|')[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";
            int rev_succ = t.addReversal(c_office);

            if (rev_succ > 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;

                t.activity_log(adminID, "Edit Status", "Update", c_office.pwalletID, c_office.data_status, "", "", "", "", "", "");
            }
        }