Exemple #1
0
        public DataTable GetNewsGroupByCateHotAll(string strCate, int group, string aproval, string isHome, string isHot)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHotAll(strCate, group, aproval, isHome, isHot));
        }
Exemple #2
0
        public DataTable GetNewsGroupByCateHotAll(int CateID, int group, string aproval, string isHome, string isHot)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHotAll(CateID, group, aproval, isHome, isHot));
        }