コード例 #1
0
        private void PageInit()
        {
            UserInfo item     = Session["cudoUser"] as UserInfo;
            Shop     shopitem = new ShopsBLL().GetShopItem(item.ShopId);

            if (shopitem != null)
            {
                string[] ordertime = shopitem.OrderTime.Split('|');
                opentime.Value       = shopitem.OpenTime;
                amtime.Value         = ordertime[0];
                pmtime.Value         = ordertime[1];
                sendlimitprice.Value = shopitem.LimitPrice.ToString();
                sendprice.Value      = shopitem.SendPrice.ToString();
                sendtime.Value       = shopitem.SendTime.ToString();
            }

            rpt_shoparealist.DataSource = bll.GetListByShopId(item.ShopId);
            rpt_shoparealist.DataBind();

            AreaInit();
        }
コード例 #2
0
ファイル: ShopArea.aspx.cs プロジェクト: szwork2013/OrderShop
 private void PageInit()
 {
     rpt_list.DataSource = bll.GetListByShopId(shopid);
     rpt_list.DataBind();
 }