Admin/QiuZuM.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using 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 QiuZuM : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ID = Request.QueryString["ID"].ToString();
getdata2();
}
}
protected void Button1_Click(object sender, EventArgs e)
{
ID = Request.QueryString["ID"].ToString();
string sql;
sql = "update 求租信息 set 车辆信息='" + this.TextBox1.Text + "',租金信息='" + this.TextBox2.Text + "',地域信息='" + this.TextBox3.Text + "',联系人='" + this.TextBox4.Text + "',联系电话='" + this.TextBox5.Text + "',具体要求='" + Class1.repString(this.WebEditor1.Text) + "' where ID='" + ID + "'";
int result;
result = new Class1().hsgexucute(sql);
if (result == 1)
{
Response.Write("<script>javascript:alert('操作成功');</script>");
}
else
{
Response.Write("<script>javascript:alert('系统错误,您没有设置好数据库的连接!');</script>");
}
}
private void getdata2()
{
ID = Request.QueryString["ID"].ToString();
string sql = "select * from 求租信息 where ID='" + ID + "'";
DataSet result = new DataSet();
result = new Class1().hsggetdata(sql);
if (result != null)
{
if (result.Tables[0].Rows.Count > 0)
{
this.TextBox1.Text = result.Tables[0].Rows[0]["车辆信息"].ToString().Trim();
TextBox2.Text = result.Tables[0].Rows[0]["租金信息"].ToString().Trim();
this.TextBox3.Text = result.Tables[0].Rows[0]["地域信息"].ToString().Trim();
TextBox4.Text = result.Tables[0].Rows[0]["联系人"].ToString().Trim();
this.TextBox5.Text = result.Tables[0].Rows[0]["联系电话"].ToString().Trim();
this.WebEditor1.Text = result.Tables[0].Rows[0]["具体要求"].ToString().Trim();
}
}
后面还有 4 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
