acaipiao.aspx.cs
(完整代码) 1KBusing System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using dao;
public partial class acaipiao : System.Web.UI.Page
{
string id = "";
protected void Page_Load(object sender, EventArgs e)
{
id = Request.QueryString["id"].ToString();
if (!IsPostBack)
{
string sql = "select * from caipiao where cpid='" + id + "'";
DataTable dt = DBHelper.GetDataSet(sql);
if (dt.Rows.Count > 0)
{
this.cp.Text = dt.Rows[0]["cp"].ToString();
this.lx.Text = dt.Rows[0]["lx"].ToString();
this.sm.Text = dt.Rows[0]["sm"].ToString();
this.wfgz.Text = dt.Rows[0]["wfgz"].ToString();
this.kjrq.Text = dt.Rows[0]["kjrq"].ToString();
this.zjhm.Text = dt.Rows[0]["zjhm"].ToString();
this.zjje.Text = dt.Rows[0]["zjje"].ToString();
BindData();
}
}
}
/// <summary>
/// 绑定
/// </summary>
private void BindData()
{
string sql = "select * from cpkj where 1=1 and cp='"+id+"' ";
DataSet ds = new DataSet();
ds = DBHelper.query(sql);
this.Repeater1.DataSource = ds;
this.Repeater1.DataBind();
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。