PersonRecord/MyProfile.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
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;
using System.Data.SqlClient;
public partial class PersonRecord_MyProfile : System.Web.UI.Page
{
DBClass dbObj = new DBClass();
PersonRecordClass prObj = new PersonRecordClass();
TeachStudyClass tsObj = new TeachStudyClass();
SciResearchClass srObj = new SciResearchClass();
public static int P_Int_id;
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
P_Int_id = Convert.ToInt32(Request["id"]);
GetUI(P_Int_id);
gvStudyBind(P_Int_id);
gvWorkBind(P_Int_id);
gvTeachBind(P_Int_id);
gvTSZYKTBind(P_Int_id);
gvTSFBLWBind(P_Int_id);
gvTSFBLZBind(P_Int_id);
gvTSHJQKBind(P_Int_id);
gvSRZYKTBind(P_Int_id);
gvSRFBLWBind(P_Int_id);
gvSRLZQKBind(P_Int_id);
gvSRHJQKBind(P_Int_id);
}
}
/// <summary>
/// 获取用户姓名,用户性别,用户年龄,用户院校及其所在专业
/// </summary>
/// <param name="P_Int_id">用户的唯一标志</param>
public void GetUI(int P_Int_id)
{
DataSet ds = dbObj.ReturnUIDs(P_Int_id, "userInfo");
labName.Text=ds.Tables["userInfo"].Rows[0][0].ToString();
labSex.Text = ds.Tables["userInfo"].Rows[0][1].ToString();
labAge.Text = ds.Tables["userInfo"].Rows[0][2].ToString();
labWork.Text = ds.Tables["userInfo"].Rows[0][3].ToString() + ds.Tables["userInfo"].Rows[0][4].ToString() ;
}
/// <summary>
/// 显示教师的教育背景资料
/// </summary>
/// <param name="P_Int_id">用户的唯一标志</param>
public void gvStudyBind(int P_Int_id)
{
SqlCommand myCmd = prObj.GetSRICmd(1, P_Int_id);
prObj.GVBind(myCmd, gvStudy, "SResume");
}
//=============================================================
后面还有 193 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。