Web/Admin/OrderNumber/order_print.aspx.cs

(完整代码) 1KB

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Common;

namespace Web.admin.orders
{
    public partial class order_print : Web.UI.ManagePage
    {
        private int id = 0;
        private string OrderNumber = "";
        protected Model.Orders model = new Model.Orders();

        protected void Page_Load(object sender, EventArgs e)
        {
            this.id = DTRequest.GetQueryInt("id");
            this.OrderNumber = DTRequest.GetQueryString("OrderNumber");
            if (this.id == 0)
            {
                JscriptMsg("传输参数不正确!", "back", "Error");
                return;
            }
            if (!new BLL.OnlineNumber().Exists(this.id))
            {
                JscriptMsg("信息不存在或已被删除!", "back", "Error");
                return;
            }
            if (!Page.IsPostBack)
            {
                ShowInfo(this.id);
            }
        }

        #region 赋值操作=================================
        private void ShowInfo(int _id)
        {
            BLL.ShoppingCart bll = new BLL.ShoppingCart();
            BLL.Orders orderbll = new BLL.Orders();
            model = orderbll.GetModel(_id);
           // managerModel = GetAdminInfo();
            this.rptList.DataSource = bll.GetList("OrderNumber=" + this.OrderNumber);
            this.rptList.DataBind();
        }
        #endregion
    }
}

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

AI 解读 AI

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

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