Web/OrderDetail.aspx.cs

(开头部分) 18KB

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

using WMPT.Common;
using WMPT.Model;
using WMPT.SQLServerDAL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class OrderDetail : System.Web.UI.Page
{
    EAddress addressdal = new EAddress();
    Points daltogo = new Points();

    /// <summary>
    /// 商家编号
    /// </summary>
    private int togoId
    {
        get
        {
            object o = ViewState["TogoId"];
            return Convert.ToInt32(o);
        }
        set
        {
            ViewState["TogoId"] = value;
        }
    }

    /// <summary>
    /// 餐费
    /// </summary>
    protected decimal foodprice
    {
        get
        {
            return ViewState["foodprice"] == null ? 0 : Convert.ToDecimal(ViewState["foodprice"]);
        }
        set
        {
            ViewState["foodprice"] = value;
        }
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            WebUtility.checkLocal();
            ECustomerInfo user = UserHelp.GetUser();
            if (user != null)
            {
                hidUid.Value = user.DataID.ToString();
                mycard(user.DataID);
                lbaccountmoney.InnerText = user.Usermoney.ToString();
            }
            else
            {
后面还有 435 行代码,购买后查看完整代码

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

AI 解读 AI

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

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