WebApplication/About.aspx.cs
(完整代码) 1011Busing System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication
{
public partial class About : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request["InfoID"] != null)
{
DataTable dt = new BLL.Models.GZXX_Model().GetContentInfo(int.Parse(Request["InfoID"].ToString()), "About");
Literal1.Text = "<a href=\"About.aspx?InfoID=" + dt.Rows[0]["InfoID"].ToString() + "\">" + dt.Rows[0]["Title"].ToString() + "</a> ";
Literal2.Text = dt.Rows[0]["Title"].ToString();
Literal5.Text = dt.Rows[0]["Content"].ToString();
Literal8.Text = "<script> $(\".nav ul\").find(\"li\").eq(" + (int.Parse(dt.Rows[0]["InfoID"].ToString()) + 3) + ").find(\"a\").addClass(\"cur\");</script>";
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
