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)); }
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)); }