Ejemplo n.º 1
0
        public DataTable GetNewsGroupByCateHot(string strCate, int group, string aproval, int num, string isHome, string isHot)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHot(strCate, group, aproval, num, isHome, isHot));
        }
Ejemplo n.º 2
0
        public DataTable GetNewsGroupByCateHot(int CateID, int group, string aproval, int num, string isHome, string isHot)
        {
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

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