/// <summary> /// Bind all the Drop down for Customer Income Screen /// </summary> /// <param name="path"></param> public void BindDropDowns(string path) { dtCurrency = XMLBo.GetCurrency(path); ddlAICurrency.DataSource = dtCurrency; ddlAICurrency.DataTextField = "CurrencyName"; ddlAICurrency.DataValueField = "CurrencyCode"; ddlAICurrency.DataBind(); ddlAICurrency.SelectedValue = "1"; ddlBICurrency.DataSource = dtCurrency; ddlBICurrency.DataTextField = "CurrencyName"; ddlBICurrency.DataValueField = "CurrencyCode"; ddlBICurrency.DataBind(); ddlBICurrency.SelectedValue = "1"; ddlGSCurrency.DataSource = dtCurrency; ddlGSCurrency.DataTextField = "CurrencyName"; ddlGSCurrency.DataValueField = "CurrencyCode"; ddlGSCurrency.DataBind(); ddlGSCurrency.SelectedValue = "1"; ddlOSICurrency.DataSource = dtCurrency; ddlOSICurrency.DataTextField = "CurrencyName"; ddlOSICurrency.DataValueField = "CurrencyCode"; ddlOSICurrency.DataBind(); ddlOSICurrency.SelectedValue = "1"; ddlPICurrency.DataSource = dtCurrency; ddlPICurrency.DataTextField = "CurrencyName"; ddlPICurrency.DataValueField = "CurrencyCode"; ddlPICurrency.DataBind(); ddlPICurrency.SelectedValue = "1"; ddlRICurrency.DataSource = dtCurrency; ddlRICurrency.DataTextField = "CurrencyName"; ddlRICurrency.DataValueField = "CurrencyCode"; ddlRICurrency.DataBind(); ddlRICurrency.SelectedValue = "1"; ddlTHSCurrency.DataSource = dtCurrency; ddlTHSCurrency.DataTextField = "CurrencyName"; ddlTHSCurrency.DataValueField = "CurrencyCode"; ddlTHSCurrency.DataBind(); ddlTHSCurrency.SelectedValue = "1"; ddlTotal.DataSource = dtCurrency; ddlTotal.DataTextField = "CurrencyName"; ddlTotal.DataValueField = "CurrencyCode"; ddlTotal.DataBind(); ddlTotal.SelectedValue = "1"; }
/// <summary> /// Bind all the Drop down for Customer Expense Screen /// </summary> /// <param name="path"></param> public void BindDropDowns(string path) { dtCurrency = XMLBo.GetCurrency(path); ddlTranCurrency.DataSource = dtCurrency; ddlTranCurrency.DataTextField = "CurrencyName"; ddlTranCurrency.DataValueField = "CurrencyCode"; ddlTranCurrency.DataBind(); ddlTranCurrency.SelectedValue = "1"; ddlFoodCurrency.DataSource = dtCurrency; ddlFoodCurrency.DataTextField = "CurrencyName"; ddlFoodCurrency.DataValueField = "CurrencyCode"; ddlFoodCurrency.DataBind(); ddlFoodCurrency.SelectedValue = "1"; ddlCloCurrency.DataSource = dtCurrency; ddlCloCurrency.DataTextField = "CurrencyName"; ddlCloCurrency.DataValueField = "CurrencyCode"; ddlCloCurrency.DataBind(); ddlCloCurrency.SelectedValue = "1"; ddlHomeCurrency.DataSource = dtCurrency; ddlHomeCurrency.DataTextField = "CurrencyName"; ddlHomeCurrency.DataValueField = "CurrencyCode"; ddlHomeCurrency.DataBind(); ddlHomeCurrency.SelectedValue = "1"; ddlUtiCurrency.DataSource = dtCurrency; ddlUtiCurrency.DataTextField = "CurrencyName"; ddlUtiCurrency.DataValueField = "CurrencyCode"; ddlUtiCurrency.DataBind(); ddlUtiCurrency.SelectedValue = "1"; ddlSCCurrency.DataSource = dtCurrency; ddlSCCurrency.DataTextField = "CurrencyName"; ddlSCCurrency.DataValueField = "CurrencyCode"; ddlSCCurrency.DataBind(); ddlSCCurrency.SelectedValue = "1"; ddlHCCurrency.DataSource = dtCurrency; ddlHCCurrency.DataTextField = "CurrencyName"; ddlHCCurrency.DataValueField = "CurrencyCode"; ddlHCCurrency.DataBind(); ddlHCCurrency.SelectedValue = "1"; ddlEduCurrency.DataSource = dtCurrency; ddlEduCurrency.DataTextField = "CurrencyName"; ddlEduCurrency.DataValueField = "CurrencyCode"; ddlEduCurrency.DataBind(); ddlEduCurrency.SelectedValue = "1"; ddlPetsCurrency.DataSource = dtCurrency; ddlPetsCurrency.DataTextField = "CurrencyName"; ddlPetsCurrency.DataValueField = "CurrencyCode"; ddlPetsCurrency.DataBind(); ddlPetsCurrency.SelectedValue = "1"; ddlEntCurrency.DataSource = dtCurrency; ddlEntCurrency.DataTextField = "CurrencyName"; ddlEntCurrency.DataValueField = "CurrencyCode"; ddlEntCurrency.DataBind(); ddlEntCurrency.SelectedValue = "1"; ddlMisCurrency.DataSource = dtCurrency; ddlMisCurrency.DataTextField = "CurrencyName"; ddlMisCurrency.DataValueField = "CurrencyCode"; ddlMisCurrency.DataBind(); ddlMisCurrency.SelectedValue = "1"; ddlTotal.DataSource = dtCurrency; ddlTotal.DataTextField = "CurrencyName"; ddlTotal.DataValueField = "CurrencyCode"; ddlTotal.DataBind(); ddlTotal.SelectedValue = "1"; }