public DataTable GetNewsByCateHomeAll(int n, string strCate, string approval) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsByCateHomeAll(n, restr, approval); }
public DataTable GetNewsByCateHomeAll(string strCate) { string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','"); NewsDAO newsDAO = new NewsDAO(); return newsDAO.GetNewsByCateHomeAll(restr); }