コード例 #1
0
 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();
 }
コード例 #2
0
 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();
 }
コード例 #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();



        }