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)); }
public DataTable GetNewsGroupByCateHomeList(string strCate, int group) { if (strCate != "") { strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); } NewsGroupDAO newsGroupDAO = new NewsGroupDAO(); return(newsGroupDAO.GetNewsGroupByCateHomeList(strCate, group)); }