⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 traninfo.aspx.cs

📁 易想商城系统
💻 CS
字号:
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace YXShop.Web.Admin.Orders
{
    public partial class tranInfo : System.Web.UI.Page
    {
        public static string orderId = "";
        YXShop.BLL.OrderTransfer tranBll = new YXShop.BLL.OrderTransfer();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["AdminID"] == null)
            {
                Response.Redirect("../index.aspx", true);
            }
            else
            {
                if (string.IsNullOrEmpty(Session["AdminID"].ToString()))
                {
                    Response.Redirect("../index.aspx", true);
                }
            }
            if ((!IsPostBack) || ((Request["Event"] != null) && (Request["Event"] != "")))
            {
                //初始化信息(订单信息,银行信息,支付信息)
                if (!string.IsNullOrEmpty(Request.QueryString["OrderID"]))
                {
                    //bindOrderInfo(YXShop.Common.WebUtility.replaceStr(Request.QueryString["OrderID"]));
                    orderId = YXShop.Common.WebUtility.replaceStr(Request.QueryString["OrderID"]);
                    BindTransferInfo(orderId);
                }
                else
                {
                    Response.Redirect("orderList.aspx");
                }
            }
        }
        private void BindTransferInfo(string orderID)
        {
            string str = String.Format(" OrderID = '{0}'", orderId);
            Repeater4.DataSource = tranBll.GetList(str);
            Repeater4.DataBind();
        }
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -