Example #1
0
 public DataTable GetAnnounceByCateIsHomeAll(int n, string strCate, string approval)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceByCateIsHomeAll(n, restr, approval);
 }
Example #2
0
 public DataTable GetAnnounceByCateIsHomeAll(string strCate)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceByCateIsHomeAll(restr);
 }