Ejemplo n.º 1
0
        /// <summary>
        /// 绑定费别
        /// </summary>
        public void Bind_ChargeType(ComboBox cmb_ChargeType)
        {
            BChargeClass bChargeClass = new BChargeClass();

            System.Data.DataTable dt = bChargeClass.GetList("1=1");
            cmb_ChargeType.DataSource    = dt;
            cmb_ChargeType.DisplayMember = dt.Columns["CHARGE_TYPE"].ColumnName;
            cmb_ChargeType.ValueMember   = dt.Columns["CHARGE_TYPE_CODE"].ColumnName;
            //this.charge_ratio = 0;
            //Get_Charges();//当前选中的费别率×费用
        }