admin/sisu/sisu_up.aspx.cs
(开头部分) 4KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.OleDb;
using System.Data;
namespace web.admin.sisu
{
public partial class sisu_up : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if(!IsPostBack)
{
if (Request.QueryString["id"] != null)
{
int uid = Convert.ToInt32(Request.QueryString["id"]);
string sqlstring = "select * from sisu where id=" + uid.ToString();
using (DataTable dt = new AcsHelper().ExecuteDataTable(sqlstring))
{
foreach (DataRow r in dt.Rows)
{
this.TextBox3.Text = r["username"].ToString();
string ltype = r["ltype"].ToString();
this.ltype.SelectedValue = ltype;
this.bj.Text = r["ntest"].ToString();
this.TextBox1.Text = r["ntest"].ToString();
this.href.Text = r["ntest"].ToString();
if (ltype == "1")
{
this.Panel3.Visible = true;
}
else if (ltype == "2")
{
this.Panel2.Visible = true;
}
else if (ltype == "3")
{
this.Panel4.Visible = true;
}
}
}
}
else
{
this.Button1.Text = " 增加 ";
this.Panel3.Visible = true;
}
}
}
protected void Button1_Click(object sender, EventArgs e)
{
string t1 = this.TextBox3.Text;
string t2 = this.TextBox1.Text;
string ltype = this.ltype.SelectedValue;
后面还有 70 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。