/// <summary> /// 按分类查看总数 /// </summary> /// <param name="nClassID"></param> /// <returns></returns> public int Get_NewsNum(int nClassID) { NewsSQL newsSQL = new NewsSQL(); return(newsSQL.Get_NewsNum(nClassID)); }
/// <summary> /// 查看全部数量 /// </summary> /// <returns></returns> public int Get_NewsNum() { NewsSQL newsSQL = new NewsSQL(); return(newsSQL.Get_NewsNum()); }