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