Beispiel #1
0
 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);
 }
Beispiel #2
0
 public DataTable GetNewsByCateHomeAll(string strCate)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     NewsDAO newsDAO = new NewsDAO();
     return newsDAO.GetNewsByCateHomeAll(restr);
 }