Web/admin/DengJi1.aspx.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Configuration;
using System.Data.SqlClient;
using System.Data;
using Maticsoft.DBUtility;
using System.Data;
using System.Data.OleDb;
using Maticsoft.Common;
namespace Maticsoft.Web.admin
{
public partial class DengJi1 : System.Web.UI.Page
{
private int id = 0;
protected void Page_Load(object sender, EventArgs e)
{
if (!this.IsPostBack)
{
if (CheckLogin.meb_Login() == false)
{
JScript.AlertAndRedirect("连接超时或尚未登录", "/admin/login.aspx", this.Page);
return;
}
this.bandGrid();
}
}
private void bandGrid()
{
string where = "1=1 and isdel=1";
if (this.txtKEY.Text.Trim() != "")
{
where += " AND ( kdNo like '%" + this.txtKEY.Text.Trim() + "%' OR taobaoID like '%" + this.txtKEY.Text.Trim() + "%' OR jijianRen like '%" + this.txtKEY.Text.Trim() + "%' OR jihuiDongxi like '%" + this.txtKEY.Text.Trim() + "%' OR HuanKDId like '%" + this.txtKEY.Text.Trim() + "%' OR Remark1 like '%" + this.txtKEY.Text.Trim() + "%' OR Remark1 like '%" + this.txtKEY.Text.Trim() + "%' )";
}
string strSQL = "select * from tbDengjiInfo where " + where;
OleDbConnection objConnection = new OleDbConnection(ConfigurationManager.AppSettings["ConnectionString"]);
objConnection.Open();
OleDbCommand objCommand = new OleDbCommand(strSQL, objConnection);
OleDbDataReader reader = objCommand.ExecuteReader(CommandBehavior.CloseConnection);
rptUser.DataSource = reader;
rptUser.DataBind();
}
protected void Button1_Click(object sender, EventArgs e)
{
bandGrid();
}
protected void rptUser_ItemDataBound(object sender, RepeaterItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem)
{
后面还有 182 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。