private void FullHotNewsGetGroup(string lang, int groupcate)
 {
     NewsGroupBSO newsGroupBSO = new NewsGroupBSO();
     DataTable table = newsGroupBSO.GetNewsGroupHot(lang, Convert.ToInt32(hddRecord.Value), groupcate);
     rptListHotReport.DataSource = table;
     rptListHotReport.DataBind();
 }
 private void GetNewsbyGroup(string lang, string groupCate)
 {
     var newsGroupBso = new NewsGroupBSO();
     var table = newsGroupBso.GetNewsGroupHot(lang, Convert.ToInt32(hddRecord.Value), "1",
                                              Convert.ToInt32(groupCate));
     rptNews.DataSource = table;
     rptNews.DataBind();
 }
Ejemplo n.º 3
0
        private void ViewNewsHot(int groupcate)
        {
            NewsGroupBSO newsGroupBSO = new NewsGroupBSO();
            DataTable table = newsGroupBSO.GetNewsGroupHot(Language.lang, 5, "1", groupcate);


            DataListCateNews.DataSource = table;
            DataListCateNews.DataBind();

            DataListNewsHot.DataSource = table;
            DataListNewsHot.DataBind();



        }