MxWeiXinPF.Web/weixin/diancai/caidan_manage_indexdetail.aspx.cs

(开头部分) 4KB

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

using MxWeiXinPF.Common;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace MxWeiXinPF.Web.weixin.diancai
{
    public partial class caidan_manage_indexdetail : WeiXinPage
    {
        public string id = "";
        public int shopid = 0;
        public string Dingdanlist="";
        public string dingdandatail="";
        BLL.wx_diancai_dingdan_manage manage = new BLL.wx_diancai_dingdan_manage();
        Model.wx_diancai_dingdan_manage managemodel = new Model.wx_diancai_dingdan_manage();
        BLL.wx_diancai_shopinfo shopinfo = new BLL.wx_diancai_shopinfo();
        Model.wx_diancai_shopinfo sjopmodel = new Model.wx_diancai_shopinfo();

        BLL.wx_diancai_desknum deskbll = new BLL.wx_diancai_desknum();

        public string option = "";

        public string hotelName = "";

        protected void Page_Load(object sender, EventArgs e)
        {
            if(!IsPostBack)
            {
                id = MyCommFun.QueryString("id");
                shopid = MyCommFun.RequestInt("shopid");
                sjopmodel = shopinfo.GetModel(shopid);
                hotelName = sjopmodel.hotelName;

                if (id != "")
                {
                    List(id,shopid);
                }

            }
        }

        public void List(string id, int shopid)
        {



            DataSet deskdata = deskbll.GetListdesk(shopid);
            if (deskdata.Tables[0].Rows.Count>0)
            {
                for (int i = 0; i < deskdata.Tables[0].Rows.Count;i++ )
                {
                    option += " <option  value=" + deskdata.Tables[0].Rows[i]["deskName"].ToString() + ">" + deskdata.Tables[0].Rows[i]["deskName"].ToString() + "</option>";
                }
            }


后面还有 59 行代码,购买后查看完整代码

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

AI 解读

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

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