示例#1
0
        protected void LoadDSSP()
        {
            //Category
            rpLoaiSP.DataSource = BUS_LoaiSanPham.LoadDSLoaiSP();
            rpLoaiSP.DataBind();

            //Products
            rptSanPham.DataSource = BUS_SanPham.LoadDSSanPham();
            rptSanPham.DataBind();

            //Tshirt
            rptTshirt.DataSource = BUS_SanPham.LoadDSSanPham();
            rptTshirt.DataBind();

            //Blazers
            rptBlazers.DataSource = BUS_SanPham.LoadDSSanPham();
            rptBlazers.DataBind();

            //Sunglass
            rptSunglass.DataSource = BUS_SanPham.LoadDSSanPham();
            rptSunglass.DataBind();

            //PoloShirt
            rptPoloshirt.DataSource = BUS_SanPham.LoadDSSanPham();
            rptPoloshirt.DataBind();

            //Kids
            rptKids.DataSource = BUS_SanPham.LoadDSSanPham();
            rptKids.DataBind();

            //Carousel
            rptCarousel1.DataSource = BUS_SanPham.LoadDSSanPham();
            rptCarousel1.DataBind();
            rptCarousel2.DataSource = BUS_SanPham.LoadDSSanPham();
            rptCarousel2.DataBind();
        }
示例#2
0
 public void LoadDSSP()
 {
     rptSanPham.DataSource = BUS_SanPham.LoadDSSanPham();
     rptSanPham.DataBind();
 }
 protected void LoadDSSanPham()
 {
     grvDSProduct.DataSource = BUS_SanPham.LoadDSSanPham();
     grvDSProduct.DataBind();
 }