Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if ((Session["pwalletID"] != null) && (Session["pwalletID"].ToString() != ""))
            { this.adminID = Session["pwalletID"].ToString(); }
            else
            { base.Response.Redirect("../login.aspx"); }

            if (!IsPostBack)
            {
                old_date = ret.getOldestDate(); Session["old_date"] = old_date;
                new_date = ret.getLatestDate(); Session["new_date"] = new_date;
                popYear();
                Session["IpongMemberType"] = null;
                Session["grand_tot_cnt"] = null;
                Session["new_grand_tot_amt"] = null;
            }
            c_pr = ret.getPratioByMemberID(adminID);
            if (c_pr.xid != null)
            {
                Session["IpongMemberType"] = c_pr.p_type;
                if (Session["IpongMemberType"] != null) { pr = Session["IpongMemberType"].ToString(); }
            }

            if(Session["grand_tot_cnt"]==null){ Session["grand_tot_cnt"]="0";}
            if (Session["new_grand_tot_amt"] == null) { Session["new_grand_tot_amt"] = "0"; }
        }
Esempio n. 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            c_pr = ret.getPratioByMemberID(adminID);
            if (c_pr.xid != null)
            {
                if (c_pr.p_type == "merchant")
                {

                }
                else
                {

                }
            }
        }
Esempio n. 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if ((Session["pwalletID"] != null) && (Session["pwalletID"].ToString() != ""))
            { this.adminID = Session["pwalletID"].ToString(); }
            else
            { base.Response.Redirect("../login.aspx"); }

            if (!IsPostBack)
            {
                Session["IpongMemberType"] = null;
                Session["grand_tot_cnt"] = null;
                Session["new_grand_tot_amt"] = null;
                Session["transID"] = null;
                Session["payment_type"] = null;
                Session["bank_xname"] = null;
                Session["bank_bankname"] = null;
                Session["bank_xposition"] = null;
                Session["bank_street"] = null;
                Session["bank_telephone"] = null;
                Session["bank_email"] = null;
                Session["transDate"] = null;
            }
            c_pr = ret.getPratioByMemberID(adminID);
            if (c_pr.xid != null)
            {
                Session["IpongMemberType"] = c_pr.p_type;
                if (Session["IpongMemberType"] != null) { pr = Session["IpongMemberType"].ToString(); }
            }
            if(Session["grand_tot_cnt"]==null){ Session["grand_tot_cnt"]="0";}
            if (Session["new_grand_tot_amt"] == null) { Session["new_grand_tot_amt"] = "0"; }
            if (Session["transID"] == null) { Session["transID"] = "0"; }

            if (Session["payment_type"] == null) { Session["payment_type"] = ""; }
            if (Session["bank_xname"] == null) { Session["bank_xname"] = ""; }
            if (Session["bank_bankname"] == null) { Session["bank_bankname"] = ""; }
            if (Session["bank_xposition"] == null) { Session["bank_xposition"] = ""; }
            if (Session["bank_street"] == null) { Session["bank_street"] = ""; }
            if (Session["bank_telephone"] == null) { Session["bank_telephone"] = ""; }
            if (Session["bank_email"] == null) { Session["bank_email"] = ""; }
            if (Session["transDate"] == null) { Session["bank_email"] = ""; }
        }