CompanyUserInfo.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class CompanyUserInfo : System.Web.UI.Page
{
public string jianli = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Session["qxuname"] == null)
{
Response.Redirect("UserLogin.aspx");
}
jianliInfo();
yonghuInfo();
zhengjianzhaoInfo();
}
}
private void jianliInfo()
{
string sql;
sql = "select * from yonghu where ID=" + Request.QueryString["xueshengID"].ToString().Trim() + " order by id desc";
DataSet result = new DataSet();
sqlConn conn = new sqlConn();
result = conn.hsggetdata(sql);
if (result != null)
{
if (result.Tables[0].Rows.Count > 0)
{
jianli = result.Tables[0].Rows[0]["lujing"].ToString();
}
}
}
private void zhengjianzhaoInfo()
{
sqlConn conn = new sqlConn();
string id = Request.QueryString["xueshengID"].ToString().Trim();
string strsql = "select mingcheng,tupian as tupian from zhengjianzhao where xueshengID=" + id;
this.Repeater1.DataSource = conn.hsggetdata(strsql).Tables[0];
Repeater1.DataBind();
}
private void yonghuInfo()
{
string sql;
sql = "select * from yonghu where id=" + Request.QueryString["xueshengID"].ToString().Trim();
DataSet result = new DataSet();
sqlConn conn = new sqlConn();
result = conn.hsggetdata(sql);
if (result != null)
{
后面还有 13 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
