ShowCompany.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 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;
public partial class ShowCompany : System.Web.UI.Page
{
Hr.component.CompanyOffer myInfo = new Hr.component.CompanyOffer();
protected void Page_Load(object sender, EventArgs e)
{
this.Title = "网上人才招聘系统";
if (!Page.IsPostBack)
{
ViewState["companyID"] = Request.QueryString["companyID"];
myInfo.Hits(Convert.ToString(ViewState["companyID"]));
ShowInfo();
}
}
private void ShowInfo()
{
DataRow myDr1, myDr2;
myDr1 = myInfo.GetCompanyInfo(int.Parse(ViewState["companyID"].ToString()));
txtCompanyName.Text = myDr1["CompanyName"].ToString();
txtVocation.Text = myDr1["vocation"].ToString();
txtEmail.Text = myDr1["email"].ToString();
txtPhone.Text = myDr1["phone"].ToString();
txtAddress.Text = myDr1["address"].ToString();
txtAddrNum.Text = myDr1["addrNum"].ToString();
myDr2 = myInfo.GetMyCareer(int.Parse(ViewState["companyID"].ToString()));
txtWorkPosition.Text = myDr2["workPosition"].ToString();
txtGiveNum.Text = myDr2["giveNum"].ToString();
txtWorkCity.Text = myDr2["workCity"].ToString();
txtDiscribe.Text = myDr2["discribe"].ToString();
txtRequest.Text = myDr2["request"].ToString();
txtPublicTime.Text = myDr2["publicTime"].ToString();
txtLookTimes.Text = myDr2["lookTimes"].ToString();
}
protected void btReplay_Click1(object sender, EventArgs e)
{
if (Session["UserId"] == null)
{
Alert.AlertAndRedirect("对不起没有登录不能申请", "Default.aspx");
}
else
{
if (Session["UserType"] != null)
{
if (Session["UserType"].ToString() == "2")
{
Alert.AlertAndRedirect("您不是求职者", "Default.aspx");
后面还有 49 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。