Пример #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);
 }
Пример #2
0
 public DataTable GetAnnounceByCateHomeList(string strCate)
 {
     string restr = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceByCateHomeList(restr);
 }
Пример #3
0
 public DataTable AnnounceSearch(string keyword, int cId, string lang)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.AnnounceSearch(keyword, cId, lang);
 }
Пример #4
0
 public DataTable GetAnnounceAll(string lang)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceAll(lang);
 }
Пример #5
0
 public DataTable AnnounceFollow(int Id, int cId, int n)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.AnnounceFollow(Id, cId, n);
 }
Пример #6
0
 public DataTable GetAnnounceViewHome(string lang, int n, string approval)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceViewHome(lang, n, approval);
 }
Пример #7
0
 public DataTable GetAnnounceViewHome(string lang, int n)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceViewHome(lang, n);
 }
Пример #8
0
 public DataTable GetAnnounceNews(int num)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceNews(num);
 }
Пример #9
0
 public Announce GetAnnounceById(int nId)
 {
     AnnounceDAO announceDAO = new AnnounceDAO();
     return announceDAO.GetAnnounceById(nId);
 }