zuoyexinxi_detail.aspx.cs
(完整代码) 1KBusing 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 zuoyexinxi_detail : System.Web.UI.Page
{
public string nzuoyemingcheng,ntijiaozuoye,nziwojieshao,ntijiaoren,nbeizhu,nid;
protected void Page_Load(object sender, EventArgs e)
{
nid = Request.QueryString["id"].ToString().Trim();
if (!IsPostBack)
{
string sql;
sql = "select * from zuoyexinxi where id=" + Request.QueryString["id"].ToString().Trim() ;
getdata(sql);
}
}
private void getdata(string sql)
{
DataSet result = new DataSet();
result = new Class1().hsggetdata(sql);
if (result != null)
{
if (result.Tables[0].Rows.Count > 0)
{
nzuoyemingcheng = result.Tables[0].Rows[0]["zuoyemingcheng"].ToString().Trim();ntijiaozuoye = result.Tables[0].Rows[0]["tijiaozuoye"].ToString().Trim();nziwojieshao = result.Tables[0].Rows[0]["ziwojieshao"].ToString().Trim();ntijiaoren = result.Tables[0].Rows[0]["tijiaoren"].ToString().Trim();nbeizhu = result.Tables[0].Rows[0]["beizhu"].ToString().Trim();
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
