EasyShop/siteAdmin/Goods/ProductWaitAduit.aspx.cs

(开头部分) 17KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using OpSql;
using Ftion;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using conn;
using System.Linq;
using System.Text;
using MyModels;
using BLL;
using Easy.COMMON;
namespace EasyShop.siteAdmin.Goods
{
    public partial class ProductWaitAduit : System.Web.UI.Page
    {
        DbConn conn = new DbConn();
        public string jsString = "";
        public string sltID = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            //Ftion.Function.CheckState();
           // this.DisplayProgress();
            string PID = Common.GetMes.GetRequestQuery(Request, "PID");
            if (!IsPostBack)
            {
                LoadData();
            }
        }
        /// <summary>
        /// 显示页面加载进度,有参数时为根目录,没有时子目录.
        /// </summary>
        /// <param name="type"></param>
        protected void DisplayProgress(params string[] type)
        {
            string progressScript = @"<script type='text/javascript' language='javaScript'>"
                + @"var placeHolder = window.open('Process.htm','placeholder','top=400,left=400,width=200,height=100');"
                + @"document.body.onload = function(){placeHolder.close();}"
                + @"</script>";


            if (0 < type.Length)
            {
                progressScript = progressScript.Replace("Process.htm", "/Process.htm");
            }
            this.ClientScript.RegisterStartupScript(this.GetType(), "progress", progressScript);
        }
        private void LoadData()
        {
            HWhere.Value = " where 1=1";
            if (!string.IsNullOrEmpty(txt_SearchInfo.Text))
            {
                HWhere.Value += " and ProductName like '%" + StaticFunction.CheckSql2(txt_SearchInfo.Text) + "%'";
            }
            string sltID = hideClassName.Value;
            TB_MC_Class tmc = new TB_MC_Class();
后面还有 386 行代码,购买后查看完整代码

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

AI 解读 AI

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

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