Esempio n. 1
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();
        }