/// <summary> /// 根据频道名称获取总记录数 /// </summary> public int ArticleCount(string channel_name, int category_id, string strWhere) { Dictionary <int, string> dic = new BLL.site_channel().GetListAll(); if (!dic.ContainsValue(channel_name)) { return(0); } return(dal.ArticleCount(channel_name, category_id, strWhere)); }