Exemple #1
0
        //ThirdClassDm mThirdClassDm = new ThirdClassDm();
        protected void Page_Load(object sender, EventArgs e)
        {
            //绑定服装城二级类目数据
            this.dlClothes.DataSource = mSecondClassDm.GetSecondClothes();
            this.dlClothes.DataBind();
            //绑定商品图片信息
            mClothGood.FirstClassDmID        = "003";
            this.dlistProductShow.DataSource = ImgInfo.GoodIDGetImgInfo(Good.FcIDGetGoodID(mClothGood));
            this.dlistProductShow.DataBind();
            //绑定商品宣传图片信息
            //this.dlBigImg.DataSource = mClothImageInfo.GetBigImgAddress();
            //this.dlBigImg.DataBind();
            BigImg           mBigImg           = new BigImg();
            string           mCityType         = "服装城";
            BigImgController mBigImgController = new BigImgController();

            this.BigImg.ImageUrl = mBigImgController.GetImgUrl(mBigImg, mCityType);
        }
Exemple #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            FirstClassDm LFirstName = new FirstClassDm();

            LFirstName.FirstClassDmName = "家居家装";
            List <SecondClassDm> lSecondClassName = new List <SecondClassDm>();

            lSecondClassName        = FirstClassDm.FcNameGetScName(LFirstName);
            dlistClassDm.DataSource = lSecondClassName;
            dlistClassDm.DataBind();
            this.dlistProductShow.DataSource = ImgInfo.FurnitureCity();
            this.dlistProductShow.DataBind();
            //大图片
            BigImg           mBigImg           = new BigImg();
            string           mCityType         = "家具城";
            BigImgController mBigImgController = new BigImgController();

            this.BigImg.ImageUrl = mBigImgController.GetImgUrl(mBigImg, mCityType);
        }