Web/Admin/Job/JianShow.aspx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace cosmos.Web.Admin.Job
{
public partial class JianShow : System.Web.UI.Page
{
public string strid = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
if (Request.Params["Id"] != null && Request.Params["Id"].Trim() != "")
{
strid = Request.Params["id"];
int Id = (Convert.ToInt32(strid));
//赋值
ShowInfo(Id);
}
}
}
//赋值
private void ShowInfo(int Id)
{
cosmos.BLL.JianInfo bll = new cosmos.BLL.JianInfo();
cosmos.Model.JianInfo model = bll.GetModel(Id);
this.lblId.Text = model.Id.ToString();
this.lblUserName.Text = model.UserName;
this.lblBritday.Text = model.Britday.ToString();
this.lblSex.Text = model.Sex;
this.lblUserSg.Text = model.UserSg;
this.lblUsermz.Text = model.Usermz;
this.lblUserhyzk.Text = model.Userhyzk;
this.lblUserzzmm.Text = model.Userzzmm;
this.lblUserjg.Text = model.Userjg;
this.lblUserbyyx.Text = model.Userbyyx;
this.lblUserxl.Text = model.Userxl;
this.lblUsersxzy.Text = model.Usersxzy;
this.lblUserypgw.Text = model.Userypgw;
this.lblUserTel.Text = model.UserTel;
this.lblUserEmal.Text = model.UserEmal;
this.lbljypxcontent.Text = model.jypxcontent;
this.lblgzjlcontent.Text = model.gzjlcontent;
}
protected void btnSave_Click(object sender, EventArgs e)
{
Response.Redirect("JianList.aspx");
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。