Exemplo n.º 1
0
        protected void CreateAllSpecialList_Click(object sender, EventArgs e)
        {
            HtmlSpecialCategory category = new HtmlSpecialCategory();

            category.SpecialCategoryIdArray = this.GetCreateHtmlSpecialCategoryList(0);
            category.CommonCreateHtml();
            BasePage.ResponseRedirect("CreateHtmlProgress.aspx?workId=" + category.CreateId);
        }
Exemplo n.º 2
0
        protected void CreateSpecialListById_Click(object sender, EventArgs e)
        {
            string createHtmlSpecialCategoryList = this.GetCreateHtmlSpecialCategoryList(2);

            if (string.IsNullOrEmpty(createHtmlSpecialCategoryList))
            {
                AdminPage.WriteErrMsg("请选择要生成的专题类别页!", "CreateHtmlSpecial.aspx");
            }
            HtmlSpecialCategory category = new HtmlSpecialCategory();

            category.SpecialCategoryIdArray = createHtmlSpecialCategoryList;
            category.CommonCreateHtml();
            BasePage.ResponseRedirect("CreateHtmlProgress.aspx?workId=" + category.CreateId);
        }