protected void Page_Load(object sender, EventArgs e)
        {
            if (Request["articleid"] != "" || Request["articleid"] != null)
            {
                string id = Context.Request["articleid"];

                model = bll.GetArticleById(id);
                if (model.ArticleCategory == 0)
                {
                    Response.Redirect("error.html");
                }

                if (model.ArticleAnnexAddr != "")
                {
                    string[] pathUrl = bll.GetAnnexAddrByAnnex(model.ArticleAnnexAddr);
                    string[] sp      = null;
                    if (model.ArticleAnnexAddr.IndexOf(',') > 0)
                    {
                        sp = model.ArticleAnnexAddr.Split(',');
                    }
                    else
                    {
                        sp = new string[] { model.ArticleAnnexAddr }
                    };
                    aAnnex = GenerateATagByAnnex(pathUrl, sp);
                }

                //上下篇
                List <T_Article> lastArticleList = bll.GetLastArticle(id, model.ArticleCategory);
                List <T_Article> nextArticleList = bll.GetNextArticle(id, model.ArticleCategory);
                if (lastArticleList.Count > 0)
                {
                    lastArticleHref  = "articleDetail.aspx?articleId=" + lastArticleList[0].ArticleId;
                    lastArticleTitle = lastArticleList[0].ArticleTitle;
                }
                else
                {
                    lastArticleHref  = "";
                    lastArticleTitle = "没有了";
                }
                if (nextArticleList.Count > 0)
                {
                    nextArticleHref  = "articleDetail.aspx?articleId=" + nextArticleList[0].ArticleId;
                    nextArticleTitle = nextArticleList[0].ArticleTitle;
                }
                else
                {
                    nextArticleHref  = "";
                    nextArticleTitle = "没有了";
                }
            }
            else
            {
                Response.Redirect("error.html");
            }
        }