Ejemplo n.º 1
0
        public DataTable GetNewsGroupPagingbyUser(string lang, int group, int CateID, string strCate, int isApproved, int status, int isHot, int isHome, int isDelete, string username, PagingInfo _paging)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingbyUser(lang, group, CateID, strCate, isApproved, status, isHot, isHome, isDelete, username, _paging));
        }
Ejemplo n.º 2
0
        public DataTable GetNewsGroupPagingbyUser(string lang, int group, string strCate, PagingInfo _paging, string username)
        {
            if (strCate != "")
            {
                strCate = strCate.Remove(strCate.LastIndexOf(",")).Replace(",", "','");
            }
            NewsGroupDAO newsGroupDAO = new NewsGroupDAO();

            return(newsGroupDAO.GetNewsGroupPagingbyUser(lang, group, strCate, _paging, username));
        }