예제 #1
0
        private void BindDropDownList()
        {
            if (this.IsPay)
            {
                AspNetHelper.BindCooperation(this.CustomerID);
            }
            else
            {
                AspNetHelper.BindCustomer(this.CustomerID);
            }
            this.StateId.Items.Clear();
            this.StateId.Items.AddRange(new ListItem[]
            {
                new ListItem()
                {
                    Text = "是", Value = "1"
                },
                new ListItem()
                {
                    Text = "否", Value = "0", Selected = true
                }
            });

            AspNetHelper.BindBussinessPerson(this.ChargePersonID);

            if (this.IsPay)
            {
                Dictionary <DropDownList, string> request = new Dictionary <DropDownList, string>();
                request[FinancialPayTypeID] = "FinancialPayType";
                AspNetHelper.BindDropDown(request);
            }
        }