Web/user/orderdetail.aspx.cs

(开头部分) 5KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

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

using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;

public partial class UserHome_orderdetail : System.Web.UI.Page
{
    public string ImagePath = WebUtility.GetMasterPicturePath();

    private string SqlWhere
    {
        get
        {
            object o = ViewState["SqlWhere"];
            return (o == null) ? string.Empty : o.ToString();
        }
        set
        {
            ViewState["SqlWhere"] = value;
        }
    }


    protected void Page_Load(object sender, EventArgs e)
    {
        UserHelp.IsLogin(Request.Url.PathAndQuery);
        if (!this.Page.IsPostBack)
        {
            if (Request.QueryString["id"] != null)
            {
                string cityid = WebUtility.get_userCityid();
                if (cityid == "0")
                {
                    string url = "/citys.aspx";
                    Response.Redirect(url);
                }
                hfcityid.Value = cityid;
                hfcityname.Value = WebUtility.get_userCityName();
                hidLat.Value = Map.DefautLocal.getlocalInfo().Lat;
                hidLng.Value = Map.DefautLocal.getlocalInfo().Lng;

                GetData();
            }
        }
    }


    Foodlist eorderfooddal = new Foodlist();
    Custorder etogoorderdal = new Custorder();
    public string OrderState = null;

    void GetData()
    {
        CustorderInfo model = etogoorderdal.GetListForDelive(1, 1, " Custorder.unid=" + HjNetHelper.GetQueryInt("id", 0), "OrderDateTime", 1)[0];     // etogoorderdal.GetModel(HjNetHelper.GetQueryInt("id", 0));
后面还有 112 行代码,购买后查看完整代码

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

AI 解读 AI

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

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