HyperLesson/Student/MessPage-S.aspx.cs
(完整代码) 1KBusing BLL;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace HyperLesson
{
public partial class MessPage_S : System.Web.UI.Page
{
void Bind()
{
if (Request.QueryString["id"] != null)
{
int id = int.Parse(Request.QueryString["id"]);
Mail mai = MailManager.gethis(id);
this.SenderNum.Text = mai.SenderNum.ToString();
this.Mailcontent.Text = mai.Maicontent;
if (MailManager.updata(id))
{
return;
}
}
}
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Bind();
};
}
protected void btnBox_Click(object sender, EventArgs e)
{
Response.Redirect("Mybox-S.aspx");
}
protected void btnClose_Click(object sender, EventArgs e)
{
Response.Redirect("Chosen-S.aspx");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。