registerbj.aspx.cs
(开头部分) 19KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.IO;
public partial class login_registerbj : System.Web.UI.Page
{
static string edit1="", edit2="", edit3="", edit4="", edit5="";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
Bindttextbox();
Bindzjrq();
Label23.Text = edit1;
}
if (Session["userid"] == null)
{
//Response.Redirect("~/login/adminlogin.htm");
ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "click", "location.replace('/login/adminlogin.htm');", true);
}
}
private void Bindzjrq() //会员状态为0时可以修改证件日期,而且需要管理员再次审核后才能进入首页
{
string username = (string)Session["userid"];
SqlParameter[] p = new SqlParameter[] {
new SqlParameter("@gys",username),
new SqlParameter("@tag","0"),
};
string sql = "select * from tb_gys where gys_user=@gys and gys_tag = @tag";
DataTable dt = SqlHelper.ExecuteQuery(sql, p);
if (dt.Rows.Count > 0)
{
TextBox4.ReadOnly = false;
}
}
private void Bindttextbox()
{
string username = (string)Session["userid"];
SqlParameter[] p = new SqlParameter[] {
new SqlParameter("@username",username),
};
string sql = "select * from tb_gys where gys_user=@username";
DataTable dt = SqlHelper.ExecuteQuery(sql, p);
if (dt.Rows.Count > 0)
{
regBox1.Text = dt.Rows[0]["gys_user"].ToString();
regBox20.Text = dt.Rows[0]["gys_type"].ToString();
regBox5.Text = dt.Rows[0]["gys_name"].ToString();
string qyxz = dt.Rows[0]["gys_nature"].ToString();
后面还有 441 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。