예제 #1
0
파일: trademark.cs 프로젝트: ozotony/Cldx
        protected void SaveExit_Click(object sender, EventArgs e)
        {
            c_pwall.validationID = transID;
            c_pwall.amt          = amt;
            c_pwall.applicantID  = rep_xname.Text;
            c_pwall.log_officer  = "0"; //c_pwall.log_officer = hwalletID;

            c_app.xname               = xname.Text;
            c_app.nationality         = nationality.Text;
            c_app.log_staff           = "0";
            c_app.reg_date            = reg_date;
            c_app.visible             = visible;
            c_app.xtime               = xtime;
            c_app_addy.countryID      = residence.Text;
            c_app_addy.stateID        = xselectState.Text;
            c_app_addy.city           = "";
            c_app_addy.street         = xaddress.Text;
            c_app_addy.telephone1     = xtelephone.Text;
            c_app_addy.email1         = xemail.Text;
            c_app_addy.log_staff      = "0";
            c_app_addy.reg_date       = reg_date;
            c_app_addy.visible        = visible;
            c_app_addy.xtime          = xtime;
            c_mark.tm_typeID          = tmType.SelectedValue;
            c_mark.logo_descriptionID = logo_description.SelectedValue;
            c_mark.product_title      = title_of_product.Text;
            c_mark.nice_class         = national_class.SelectedValue;
            c_mark.nice_class_desc    = nice_class_desc.Text;
            c_mark.national_classID   = national_class.SelectedValue;
            c_mark.disclaimer         = txt_discalimer.Text;
            c_mark.log_staff          = "0";
            c_mark.reg_date           = reg_date;
            c_mark.xvisible           = visible;
            c_mark.xtime              = xtime;
            c_aos.stateID             = aos_xselectState.Text;
            c_aos.city            = "";
            c_aos.street          = aos_xaddress.Text;
            c_aos.telephone1      = aos_xtelephone.Text;
            c_aos.email1          = aos_xemail.Text;
            c_aos.log_staff       = "0";
            c_aos.reg_date        = reg_date;
            c_aos.visible         = visible;
            c_aos.xtime           = xtime;
            c_rep.agent_code      = xcode.Text;
            c_rep.xname           = rep_xname.Text;
            c_rep.nationality     = rep_nationality.SelectedValue;
            c_rep.log_staff       = "0";
            c_rep.reg_date        = reg_date;
            c_rep.visible         = visible;
            c_rep.xtime           = xtime;
            c_rep_addy.countryID  = rep_residence.SelectedValue;
            c_rep_addy.stateID    = xselectRepState.SelectedValue;
            c_rep_addy.city       = "";
            c_rep_addy.street     = rep_address.Text;
            c_rep_addy.telephone1 = rep_xtelephone.Text;
            c_rep_addy.email1     = rep_xemail.Text;
            c_rep_addy.log_staff  = "0";
            c_rep_addy.reg_date   = reg_date;
            c_rep_addy.visible    = visible;
            c_rep_addy.xtime      = xtime;
            pwalletID             = xpwalletID.Value;
            xmarkID.Value         = t.addTrademark(c_app, c_mark, c_aos, c_rep, c_app_addy, c_rep_addy, log_staffID);
            if (xmarkID.Value != "0")
            {
                if (Session["agt"] != null)
                {
                    agt = Session["agt"].ToString();
                }
                Response.Redirect("appstatus.aspx?agt=" + agt);
            }
        }