/// <summary>
 /// 设置货币种类
 /// </summary>
 private void BindCurrency()
 {
     Tz888.BLL.Common.SetCurrencyBLL bll = new Tz888.BLL.Common.SetCurrencyBLL();
     this.ddlCurrency.DataSource     = bll.GetList();
     this.ddlCurrency.DataTextField  = "CurrencyName";
     this.ddlCurrency.DataValueField = "CurrencyID";
     this.ddlCurrency.DataBind();
 }
    /// <summary>
    /// 绑定货币种类
    /// </summary>
    private void BindCurrency()
    {
        Tz888.BLL.Common.SetCurrencyBLL bll = new Tz888.BLL.Common.SetCurrencyBLL();
        DataView dv = bll.GetList();

        //this.ddlCapitalCurrency.DataSource = dv;
        //this.ddlCapitalCurrency.DataTextField = "CurrencyName";
        //this.ddlCapitalCurrency.DataValueField = "CurrencyID";
        //this.ddlCapitalCurrency.DataBind();

        this.ddlMerchantCurrency.DataSource     = dv;
        this.ddlMerchantCurrency.DataTextField  = "CurrencyName";
        this.ddlMerchantCurrency.DataValueField = "CurrencyID";
        this.ddlMerchantCurrency.DataBind();
    }
예제 #3
0
    private void forPageload()
    {
        Tz888.BLL.PageIniControl CustomList = new Tz888.BLL.PageIniControl();

        //招商类别
        this.chkMerchantType.DataSource     = Tz888.BLL.Info.Common.GetMerchantAttributeList();
        this.chkMerchantType.DataTextField  = "MerchantAttributeName";
        this.chkMerchantType.DataValueField = "MerchantAttributeID";
        this.chkMerchantType.DataBind();

        //产业类型
        this.chkIndustry.DataSource = CustomList.IndustryBDataBind();
        this.chkIndustry.DataBind();

        //投资类别
        this.chkFinancingTarget.DataSource = CustomList.SETfinancingTargetTabBind();
        this.chkFinancingTarget.DataBind();

        //金额
        this.chkCapital.DataSource = CustomList.CaptitalDataBind();
        this.chkCapital.DataBind();

        //大行业


        DataTable dvIndustryB = CustomList.IndustryBDataBind();

        this.lstIndustryBLeft.DataSource = dvIndustryB;
        this.lstIndustryBLeft.DataBind();

        ////小行业


        //DataTable dvIndustryM = CustomList.IndustryMDataBind("");
        //this.lstIndustryMLeft.DataSource = dvIndustryM;
        //this.lstIndustryMLeft.DataBind();

        //城市
        DataTable dvProvince = CustomList.ProvinceDataBind(null);
        DataView  dv         = dvProvince.DefaultView;

        dv.RowFilter = "ProvinceID<>0000";
        lstProvinceLeft.DataSource = dv;
        lstProvinceLeft.DataBind();

        //资讯类型
        DataTable dvNewsType = CustomList.GetList();

        chkNewsType.DataSource = dvNewsType;
        chkNewsType.DataBind();

        //创业行业
        DataTable dvIndustryCarveout = CustomList.GetListIndustryCarveout();

        this.lstCarveoutInd.DataSource = dvIndustryCarveout;
        this.lstCarveoutInd.DataBind();


        //商机行业
        DataTable dvIndustryoppor = CustomList.GetListIndustryOppor();

        this.lstOpporIndleft.DataSource = dvIndustryoppor;
        this.lstOpporIndleft.DataBind();

        //会展行业
        ////DataTable dvIndustryExhibition = setIndustryE.GetList();
        //this.lstExhibitonIndleft.DataSource = null;
        //this.lstExhibitonIndleft.DataBind();

        ////注意:小行业在前期版本中己不要了,现在存放招商的合作方式字段或资本项目的合作类型 (新加)


        //绑定合作方式
        //if (this.ViewState["CustomType"].ToString() == "0")//招商
        //{
        this.chkLstCooperationDemand2.DataSource     = Tz888.BLL.Info.Common.GetCooperationDemandList("Merchant");
        this.chkLstCooperationDemand2.DataTextField  = "CooperationDemandName";
        this.chkLstCooperationDemand2.DataValueField = "CooperationDemandTypeID";
        this.chkLstCooperationDemand2.DataBind();

        //}
        //else if (this.ViewState["CustomType"].ToString() == "1" || this.ViewState["CustomType"].ToString() == "2")//投融资

        //{
        this.chkLstCooperationDemand.DataSource     = Tz888.BLL.Info.Common.GetCooperationDemandList("Capital");
        this.chkLstCooperationDemand.DataTextField  = "CooperationDemandName";
        this.chkLstCooperationDemand.DataValueField = "CooperationDemandTypeID";
        this.chkLstCooperationDemand.DataBind();
        //}
        // 设置货币种类

        Tz888.BLL.Common.SetCurrencyBLL bll = new Tz888.BLL.Common.SetCurrencyBLL();
        this.ddlCapitalCurrency.DataSource     = bll.GetList();
        this.ddlCapitalCurrency.DataTextField  = "CurrencyName";
        this.ddlCapitalCurrency.DataValueField = "CurrencyID";
        this.ddlCapitalCurrency.DataBind();
    }