Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            str = this.Request.QueryString["ThirdName"];
            ThirdClassDm mThirdClassDm = new ThirdClassDm();

            mThirdClassDm.ThirdClassDmName = str;
            DataList1.DataSource           = ThirdClassDm.Getlist(str);
            DataList1.DataBind();
            GA   gAdmin = new GA();
            Good lGood  = new Good();

            lGood.ThirdClassDmID = gAdmin.TcNameGetID(mThirdClassDm);
            List <Good> lGoodList = new List <Good>();

            lGoodList = Good.TcIDGetGoodID(lGood);
            List <ImgInfo> lImgInfo = new List <ImgInfo>();

            datalist_good.DataSource = ImgInfo.GoodIDGetImgInfo(lGoodList);
            datalist_good.DataBind();
            //得到属性ID
            mThirdClassDm.ThirdClassDmID = mThirdClassDm.GetThirdClassDmId(str).ToString();
            PropertyNameandContent mpnc = new PropertyNameandContent();
            //this.dlProperty.DataSource = mpnc.GetPropertyAll(PropertyClassDm.TcIDGetPoID(mThirdClassDm));
            //this.dlProperty.DataBind();
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            str = Request.QueryString["FirstName"];
            FirstClassDm first = new FirstClassDm();

            first.FirstClassDmName    = str;
            this.DataList1.DataSource = FirstClassDm.FcNameGetScName(first);
            this.DataList1.DataBind();
            GA   gAdmin = new GA();
            Good lGood  = new Good();

            lGood.FirstClassDmID = gAdmin.FcNameGetID(first);
            List <Good> lGoodList = new List <Good>();

            lGoodList = Good.FcIDGetGoodID(lGood);
            List <ImgInfo> lImgInfo = new List <ImgInfo>();

            this.datalist_good.DataSource = ImgInfo.GoodIDGetImgInfo(lGoodList);
            this.datalist_good.DataBind();
        }
Exemplo n.º 4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            str = Request.QueryString["SecondName"];
            SecondClassDm secondclassdm = new SecondClassDm();

            secondclassdm.SecondClassDmName = str;
            ThirdClassDm thirdclassdm = new ThirdClassDm();

            this.DataList1.DataSource = SecondClassDm.FcShowContent(thirdclassdm, secondclassdm);
            this.DataList1.DataBind();
            GA   gAdmin = new GA();
            Good lGood  = new Good();

            lGood.SecondClassDmID = gAdmin.ScNameGetID(secondclassdm);
            List <Good> lGoodList = new List <Good>();

            lGoodList = Good.ScIDGetGoodID(lGood);
            List <ImgInfo> lImgInfo = new List <ImgInfo>();

            datalist_good.DataSource = ImgInfo.GoodIDGetImgInfo(lGoodList);
            datalist_good.DataBind();
        }