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(); }
private void PageInit() { rpt_list.DataSource = bll.GetListByShopId(shopid); rpt_list.DataBind(); }