/// <summary> /// 绑定币种 /// </summary> private void binddrpCurrencyType() { DataTable dt = CurrTypeSettingDBHelper.GetCurrenyType(); if (dt != null && dt.Rows.Count > 0) { drpCurrencyType.DataSource = dt; drpCurrencyType.DataTextField = "CurrencyName"; drpCurrencyType.DataValueField = "hhh"; drpCurrencyType.DataBind(); string aaa = drpCurrencyType.Value; CurrencyTypeID.Value = aaa.Split('_')[0]; txtRate.Text = aaa.Split('_')[1]; } }
/// <summary> /// 绑定门店退货币种 /// </summary> /// <returns>DataTable</returns> public static DataTable GetCurrenyType() { DataTable dt = CurrTypeSettingDBHelper.GetCurrenyType(); return(dt); }