Example #1
0
 /// <summary>
 /// 栏目是否有下属分类
 /// </summary>
 /// <param name="categoryID">分类ID</param>
 /// <returns></returns>
 public bool HasSubCategory(int channelItemID)
 {
     CategoryExt bllCategory = new CategoryExt();
     DataSet ds = bllCategory.GetList("ChannelItemID=" + channelItemID.ToString());
     if (ds != null && ds.Tables != null && ds.Tables.Count != 0 && ds.Tables[0].Rows.Count != 0)
     {
         return true;
     }
     return false;
 }