WebUI/AboutUs.aspx.cs

(完整代码) 1KB

using HModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
 // 下载于www.51aspx.com
namespace WebUI
{
    public partial class AboutUs : System.Web.UI.Page
    {
        public string link = " > 关于瑞娅> 瑞娅简介";
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Request.QueryString["pid"] != null)
                {
                    string id = Request.QueryString["pid"].ToString();
                    ek_category c = Bll.Bll_ek_category.GetEntityById(id);
                    if (c != null && c.id > 0)
                    {
                        ek_category cp = Bll.Bll_ek_category.GetEntityById(c.parent_id);
                        link = " > " + cp.title + "> " + c.title;
                        ek_article art = Bll.Bll_ek_article.GetEntityByWhere(ek_article._.category_id == id);
                        content.InnerHtml = art.content;
                    }
                }
            }
        }
    }
}

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。