Esempio n. 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            int idbantin = Convert.ToInt32(Request["idbantin"]);

            RpCategory.DataSource = dt.Bantin_Selectid(idbantin);
            RpCategory.DataBind();
            RpterTest.DataSource = dt.Chitiet_Selectbantin(idbantin);
            RpterTest.DataBind();
        }
Esempio n. 2
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Rpradom1.DataSource = dt.Chitiet_SelectHome().Take(1);
     Rpradom1.DataBind();
     //Rphotnew.DataSource = dt.hotnew().Take(1);
     Rphotnew.DataBind();
     RpterTest.DataSource = dt.Chitiet_SelectHome().Take(5);
     RpterTest.DataBind();
     RpterTest2.DataSource = dt.Chitiet_SelectHome().Take(5);
     RpterTest2.DataBind();
     //    RpTintat.DataSource = dt.tintat();
     //    RpTintat.DataBind();
     //    Rptintat2.DataSource = dt.tintat2();
     //    Rptintat2.DataBind();
     //}
 }