ShowPerson.aspx.cs

(完整代码) 2KB

using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class ShowPerson : System.Web.UI.Page
{
    Hr.component.PersonApply myInfo = new Hr.component.PersonApply();
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "网上人才招聘系统";
        if (!Page.IsPostBack)
        {   ViewState["personID"] = Request.QueryString["personID"];
          
         
            Hr.component.PersonApply.Hits(Convert.ToString(ViewState["personID"]));
            ShowInfo();
        }
    }
    private void ShowInfo()
    {
        DataRow myDr1, myDr2, myDr3;
        myDr1 = myInfo.GetPersonInfo(int.Parse(ViewState["personID"].ToString()));
        txtName.Text = myDr1["name"].ToString();
        txtSex.Text = myDr1["sex"].ToString();
        txtEmail.Text = myDr1["email"].ToString();
        txtPhone.Text = myDr1["phone"].ToString();
        txtAddress.Text = myDr1["address"].ToString();
        txtAddrNum.Text = myDr1["addrNum"].ToString();

        myDr2 = myInfo.GetMyResume(int.Parse(ViewState["personID"].ToString()));
        txtEducation.Text = myDr2["education"].ToString();
        txtStrong.Text = myDr2["strong"].ToString();
        txtExperience.Text = myDr2["experience"].ToString();
        txtIntroduction.Text = myDr2["introduction"].ToString();

        myDr3 = myInfo.GetMyCareer(int.Parse(ViewState["personID"].ToString()));
        txtType.Text = myDr3["type"].ToString();
        txtWorkPosition.Text = myDr3["workPosition"].ToString();
        txtWorkCity.Text = myDr3["workCity"].ToString();
        txtWage.Text = myDr3["wage"].ToString();
        txtOther.Text = myDr3["other"].ToString();
        txtPublicTime.Text = myDr3["publicTime"].ToString();
        txtLookTimes.Text = myDr3["lookTimes"].ToString();
    }
}

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

AI 解读 AI

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

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