Ejemplo n.º 1
0
        /// <summary>
        /// 返回数据总数
        /// </summary>
        public int GetCount(int channel_id, string strWhere)
        {
            string channelName = new BLL.site_channel().GetChannelName(channel_id);//查询频道名称

            if (string.IsNullOrEmpty(channelName))
            {
                return(0);
            }
            return(dal.GetCount(channelName, strWhere));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// 返回数据总数
 /// </summary>
 public int GetCount(string strWhere)
 {
     return(dal.GetCount(strWhere));
 }