Ejemplo n.º 1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     BrandCommodityBLL bll = new BrandCommodityBLL();
     //上衣
     dlJacket.DataSource = bll.GetJacket(8, 5);
     dlJacket.DataBind();
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 绑定品牌基本信息
 /// </summary>
 protected void BindBrand()
 {
     BrandCommodityBLL bll = new BrandCommodityBLL();
     Web.Core.Model.Brand brand = bll.GetBrand(Convert.ToInt64(hfBrandID.Value));
     lblBrandName.Text = brand.BrandName;
     //imgBLogo.ImageUrl = brand.LogoUrl;
     //imgBAd.ImageUrl = brand.AdUrl;
 }
Ejemplo n.º 3
0
 protected void BindDetail(long lID)
 {
     BrandCommodityBLL bll = new BrandCommodityBLL();
     Web.Core.Model.BrandCommodity bc = bll.GetCommodity(lID);
     imgCommodity.ImageUrl = bc.ImageUrl;
     lblComCode.Text = bc.CommodityCode;
     lblComName.Text = bc.CommodityName;
     lblComPrice.Text = bc.Price.ToString();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// 绑定品牌商品
 /// </summary>
 protected void BindCommodity()
 {
     BrandCommodityBLL bll = new BrandCommodityBLL();
     //上衣
     dlJacket.DataSource = bll.GetJacket(8, Convert.ToInt32( hfBrandID.Value));
     dlJacket.DataBind();
     //下装
     dlbottoms.DataSource = bll.GetBottoms(8, Convert.ToInt32(hfBrandID.Value));
     dlbottoms.DataBind();
     //连衣裙
     dldress.DataSource = bll.GetDress(8, Convert.ToInt32(hfBrandID.Value));
     dldress.DataBind();
 }