Exemple #1
0
        protected string checkNewComment()
        {
            string comments = "";

            ClassLibrary.BLL.RouteComment commentsBLL = new ClassLibrary.BLL.RouteComment();
            int countNewComment = commentsBLL.Count("Checked = 0");

            if (countNewComment != 0)
            {
                comments = "您有 <a href='./RouteComment/RouteCommentList.aspx'>" + countNewComment + "</a> 条留言未处理!";
            }
            return(comments);
        }