Пример #1
0
        public DataTable GetNewsGroupByCateHomeList(string strCate, int group, string aproval, int num, string isHome, string lang)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHomeList(strCate, group, aproval, num, isHome, lang));
        }
Пример #2
0
        public DataTable GetNewsGroupByCateHomeList(string strCate, int group)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupByCateHomeList(strCate, group));
        }