Web/admin/DengJi.aspx.cs

(开头部分) 13KB

这里只显示每个文件的开头 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;
using System.Text;
namespace Maticsoft.Web.admin
{
    public partial class DengJi : 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=0";

            StringBuilder strTemp = new StringBuilder();

            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() + "%' )";
            }

         

            if ( this.txtStartDate.Text.Trim() != "")
            {
                if (this.txtEndDate.Text.Trim() != "")
                {

                    strTemp.Append(" and ( CreateTime>#" + this.txtStartDate.Text.Trim() + "#  and CreateTime<#" + this.txtEndDate.Text.Trim() + "#  )");
                }
                else
                {
                    strTemp.Append(" and ( CreateTime>#" + this.txtStartDate.Text.Trim() + "#  and CreateTime<#" + System.DateTime.Now.ToShortDateString() + " 23:59:59 #  )");

                    //strTemp.Append(" and CreateTime between '" + this.txtStartDate.Text.Trim() + " 00:00:00' and '" + System.DateTime.Now.ToShortDateString() + " 23:59:59'");
                }
            }
后面还有 321 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。