JuYangCRMWeb/CustomManager/BlackListList.aspx.cs

(开头部分) 3KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections;
using Iman.Domain;
using System.Data;
using Iman.Utility.Dictionary;

public partial class CustomManager_BlackListList : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DropDownListBinder.BindDataToDropDownList(this.ddlCurrentStatus, typeof(SiteDictionary.CurrentStatus));
            this.ddlCurrentStatus.Items.Insert(0, new ListItem("请选择", "%"));

            DataTable dtBrandDetail = TBusinesstype.QueryDataTable("SelectByParam", new Hashtable());
            this.ddlBusinessType.DataSource = dtBrandDetail;
            this.ddlBusinessType.DataTextField = "BusinessName";
            this.ddlBusinessType.DataValueField = "Id";

            this.ddlBusinessType.DataBind();

            this.ddlBusinessType.Items.Insert(0, new ListItem("请选择", "%"));

            BindData();
        }
    }

    private void BindData()
    {
        long totalCount;
        int skysu = this.AspNetPager1.PageSize * (this.AspNetPager1.CurrentPageIndex - 1);

        IDictionary sortParam = new Hashtable();
        sortParam.Add("CreateTime", "DESC");

        IDictionary queryParam = new Hashtable();
        queryParam.Add("CompanyName", this.txtCompanyName.Value.Trim());

        if (!string.IsNullOrEmpty(Request["Status"]))
        {
            if (Request["Status"].ToString() != "%")
            {
                queryParam.Add("CurrentStatus", Request["Status"]);
            }

            spanStatus.Visible = false;
        }

        if (this.ddlCurrentStatus.SelectedValue != "%")
        {
            queryParam.Add("CurrentStatus", this.ddlCurrentStatus.SelectedValue.Trim());
        }

        if (this.ddlBusinessType.SelectedValue != "%")
后面还有 55 行代码,购买后查看完整代码

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

AI 解读

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

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