Example #1
0
        /// <summary>
        /// 查询资金并绑定资金
        /// </summary>
        private void QueryUA_BankAccountByUserID()
        {
            this.dagCaption.DataSource = wcfLogic.QueryUA_BankAccountByUserID();

            for (int i = 0; i < this.dagCaption.Rows.Count; i++)
            {
                string CurrencyType = dagCaption.Rows[i].Cells["TradeCurrencyTypeLogoFie"].Value.ToString();
                if (CurrencyType.Equals("1"))
                {
                    dagCaption.Rows[i].Cells["CurrencyType"].Value = "人民币";
                }
                else if (CurrencyType.Equals("2"))
                {
                    dagCaption.Rows[i].Cells["CurrencyType"].Value = "港币";
                }
                else if (CurrencyType.Equals("3"))
                {
                    dagCaption.Rows[i].Cells["CurrencyType"].Value = "美元";
                }
            }
        }