Ejemplo n.º 1
0
        protected void DataList1_ItemDataBound(object sender, DataListItemEventArgs e)
        {
            //DataList dtl2 = (DataList)e.Item.FindControl("DataList2");

            int gId;
            int.TryParse(DataBinder.Eval(e.Item.DataItem, "GroupCate").ToString(), out gId);

            CateNewsBSO cateNewsBSO = new CateNewsBSO();
            DataTable table1 = cateNewsBSO.GetCateGroupBullet(Language.language, gId, "icon_18.png");


            Repeater rptCate = (Repeater)e.Item.FindControl("rptnewsg");
            rptCate.DataSource = table1;
            rptCate.DataBind();

        }