protected void Page_Load(object sender, EventArgs e)
        {
            TinBLL     tbll = new TinBLL();
            List <Tin> t    = new List <Tin>();

            t = tbll.TinPhu();
            Repeater1.DataSource = t;
            Repeater1.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            string     ma   = Request.QueryString["MaTin"].ToString();
            List <Tin> ds   = new List <Tin>();
            TinBLL     tbll = new TinBLL();

            ds = tbll.LayMaTin(ma);
            this.rpt.DataSource = ds;
            rpt.DataBind();
        }
Beispiel #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            string     Moithu = Request.QueryString["moithu"].ToString();
            List <Tin> ds     = new List <Tin>();
            TinBLL     tbll   = new TinBLL();

            ds = tbll.TimKiem(Moithu);
            this.rpt.DataSource = ds;
            rpt.DataBind();
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            List <Tin> ds   = new List <Tin>();
            TinBLL     tbll = new TinBLL();

            ds = tbll.LayMaLoaiTin2("LT04");
            this.rpt.DataSource = ds;
            rpt.DataBind();

            List <Tin> ds9   = new List <Tin>();
            TinBLL     tbll9 = new TinBLL();

            ds9 = tbll9.LayMaLoaiTin2benphai("LT05");
            this.Repeater9.DataSource = ds9;
            Repeater9.DataBind();

            List <Tin> ds1   = new List <Tin>();
            TinBLL     tbll1 = new TinBLL();

            ds1 = tbll.LayMaLoaiTin1("LT01");
            this.Repeater1.DataSource = ds1;
            Repeater1.DataBind();

            List <Tin> ds10   = new List <Tin>();
            TinBLL     tbll10 = new TinBLL();

            ds10 = tbll10.LayMaLoaiTin1benphai("LT02");
            this.Repeater10.DataSource = ds10;
            Repeater10.DataBind();

            List <Tin> ds2   = new List <Tin>();
            TinBLL     tbll2 = new TinBLL();

            ds2 = tbll.LayMaLoaiTin3("LT07");
            this.Repeater2.DataSource = ds2;
            Repeater2.DataBind();

            List <Tin> ds11   = new List <Tin>();
            TinBLL     tbll11 = new TinBLL();

            ds11 = tbll11.LayMaLoaiTin3benphai("LT08");
            this.Repeater11.DataSource = ds11;
            Repeater11.DataBind();

            List <Tin> ds3   = new List <Tin>();
            TinBLL     tbll3 = new TinBLL();

            ds3 = tbll.LayMaLoaiTin4("LT11");
            this.Repeater3.DataSource = ds3;
            Repeater3.DataBind();

            List <Tin> ds12   = new List <Tin>();
            TinBLL     tbll12 = new TinBLL();

            ds12 = tbll12.LayMaLoaiTin4benphai("LT12");
            this.Repeater12.DataSource = ds12;
            Repeater12.DataBind();

            List <Tin> ds4   = new List <Tin>();
            TinBLL     tbll4 = new TinBLL();

            ds4 = tbll.LayMaLoaiTin5("LT13");
            this.Repeater4.DataSource = ds4;
            Repeater4.DataBind();

            List <Tin> ds13   = new List <Tin>();
            TinBLL     tbll13 = new TinBLL();

            ds13 = tbll13.LayMaLoaiTin5benphai("LT13");
            this.Repeater13.DataSource = ds13;
            Repeater13.DataBind();

            List <Tin> ds5   = new List <Tin>();
            TinBLL     tbll5 = new TinBLL();

            ds5 = tbll.LayMaLoaiTin6("LT14");
            this.Repeater5.DataSource = ds5;
            Repeater5.DataBind();

            List <Tin> ds14   = new List <Tin>();
            TinBLL     tbll14 = new TinBLL();

            ds14 = tbll13.LayMaLoaiTin6benphai("LT15");
            this.Repeater14.DataSource = ds14;
            Repeater14.DataBind();


            List <Tin> ds6   = new List <Tin>();
            TinBLL     tbll6 = new TinBLL();

            ds6 = tbll.LayMaLoaiTin7("LT17");
            this.Repeater6.DataSource = ds6;
            Repeater6.DataBind();

            List <Tin> ds15   = new List <Tin>();
            TinBLL     tbll15 = new TinBLL();

            ds15 = tbll15.LayMaLoaiTin7benphai("LT17");
            this.Repeater15.DataSource = ds15;
            Repeater15.DataBind();

            List <Tin> ds7   = new List <Tin>();
            TinBLL     tbll7 = new TinBLL();

            ds7 = tbll.LayMaLoaiTin8("LT18");
            this.Repeater7.DataSource = ds7;
            Repeater7.DataBind();

            List <Tin> ds16   = new List <Tin>();
            TinBLL     tbll16 = new TinBLL();

            ds16 = tbll16.LayMaLoaiTin8benphai("LT19");
            this.Repeater16.DataSource = ds16;
            Repeater16.DataBind();

            List <Tin> ds8   = new List <Tin>();
            TinBLL     tbll8 = new TinBLL();

            ds8 = tbll.LayMaLoaiTin9("LT20");
            this.Repeater8.DataSource = ds8;
            Repeater8.DataBind();

            List <Tin> ds17   = new List <Tin>();
            TinBLL     tbll17 = new TinBLL();

            ds17 = tbll17.LayMaLoaiTin9benphai("LT21");
            this.Repeater17.DataSource = ds17;
            Repeater17.DataBind();
        }