/// <summary>
 /// 返回栏目名称
 /// </summary>
 protected string GetChannel_Title(int _classId)
 {
     DtCms.BLL.Channel bll = new DtCms.BLL.Channel();
     if (bll.Exists(_classId))
     {
         DtCms.Model.Channel model = bll.GetModel(_classId);
         return(model.Title);
     }
     return("");
 }
Beispiel #2
0
 //输出栏目名称
 public static string ViewChannelTitle(int classId)
 {
     DtCms.BLL.Channel bll = new DtCms.BLL.Channel();
     if (bll.Exists(classId))
     {
         DtCms.Model.Channel model = bll.GetModel(classId);
         return(model.Title);
     }
     return("所有列表");
 }