WebSite/Handlers/Product/ProSelect.aspx.cs

(开头部分) 31KB

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

using BLL;
using Common;
using System;
using System.Data;
using System.Text;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Configuration;
namespace CRMSYS.Handlers.Product
{
    
    public partial class ProSelect : Page
    {
        private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);

        protected void Page_Load(object sender, EventArgs e)
        {
            int page;
            int rows;
            TCWL_B_ProIn rk;
            string srvID;
            string where;
            string ProName;
            string Familiar;
            string ProType;
            string ByUserName;
            string CusName;
            string start;
            string end;
            DataTable dt;
            DataTable dtHeader;
            decimal totalIn;
            int i;
            decimal money;
            string EndTitle;
            DataRow drTotal;
            string excelHeader;
            string filename;
            HttpContext curContext;
            switch (base.Request["Method"].ToString())
            {
                case "loadInCheck":
                    page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
                    rows = Convert.ToInt32(base.Request["rows"].ToString());
                    rk = new TCWL_B_ProIn();
                    srvID = "";
                    base.Response.Clear();
                    where = "";
                    if (base.Request["where"] != null)
                    {
                        ProName = base.Request.Form["CP_Name"].ToString();
                        Familiar = base.Request.Form["Stock"].ToString();
                        ProType = base.Request.Form["Type"].ToString();
                        ByUserName = base.Request.Form["UserName"].ToString();
                        CusName = base.Request.Form["Kh_Nmae"].ToString();
                        where = " (T.InState = 1 or T.InState = 2) and (T.ProName like '%" + ProName + "%' or T.ProCode like '%" + ProName + "%') and T.CusName like '%" + CusName + "%' ";
                        if (ByUserName != "")
                        {
                            where = where + " and T.ByUserName in (" + ByUserName + ") ";
后面还有 535 行代码,购买后查看完整代码

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

AI 解读 AI

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

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