Esempio n. 1
0
        /// <summary>
        /// 按分类查看总数
        /// </summary>
        /// <param name="nClassID"></param>
        /// <returns></returns>
        public int Get_NewsNum(int nClassID)
        {
            NewsSQL newsSQL = new NewsSQL();

            return(newsSQL.Get_NewsNum(nClassID));
        }
Esempio n. 2
0
        /// <summary>
        /// 查看全部数量
        /// </summary>
        /// <returns></returns>
        public int Get_NewsNum()
        {
            NewsSQL newsSQL = new NewsSQL();

            return(newsSQL.Get_NewsNum());
        }