EasyShop/PersonCenter/Member_ReChargeSuccess.aspx.cs

(完整代码) 1KB

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Collections.Generic;
using Com.Alipay;
using System.Linq;
using System.Security.Policy;
using EasyShop;
using MyModels;

namespace EasyShop.PersonCenter
{
    public partial class Member_ReChargeSuccess : Base_Page
    {
        protected string ordernum, luweb;
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                string order_no = Common.GetMes.GetRequestQuery(Request, "order_no");
                
                string userId=conn.MyCookie.getCookie("UserID");
                TB_MC_UserRechargeRecord tmu = new TB_MC_UserRechargeRecord();
                if (!string.IsNullOrEmpty(userId))
                {
                    DataSet ds = tmu.GetList(" UserID=" + userId + " and Remark='" + order_no + "'");
                    for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
                    {

                        litOrderNumber.Text = order_no;
                        litMoney.Text = ds.Tables[0].Rows[i]["MoneyNum"].ToString();
                    }
                }
                else
                {
                    string reurl = Request.RawUrl.ToString();
                    System.Web.HttpContext.Current.Response.Redirect("/login.aspx?ReturnUrl=" + reurl + "");
                }
                
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。