Info.aspx.cs
(完整代码) 881Busing System;
public partial class Info : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
News myn = new News();
myn.GetModel(Convert.ToInt16(Request.QueryString["aid"].ToString()));
Littitle.Text = myn.title;
Litcontent.Text = myn.content;
Litposttime.Text = myn.posttime.ToString();
Litviews.Text = myn.views.ToString();
Litfromto.Text = myn.fromto;
//更新次数
myn.Update(Convert.ToInt16(Request.QueryString["aid"].ToString()), Convert.ToInt16(Litviews.Text.ToString()) + 1);
Forum myf = new Forum();
myf.GetModel(Convert.ToInt16(Request.QueryString["fid"].ToString()));
Literal1.Text = myf.name;
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。