コード例 #1
0
 private void GetAccountInfo(int accountId)
 {
     BankAccountService.BankAccountB bankAccount = new BankAccountService.BankAccountB();
     bankAccount = bankClient.GetBankAccount(accountId);
     disAccNo    = bankAccount.AccountNo;
     disAccDate  = bankAccount.ExpiryDate;
     disAccCCV   = bankAccount.CCV;
 }
コード例 #2
0
        private int GetIdOfTheBankAccount()
        {
            BankAccountService.BankAccountServiceClient bankClient = new BankAccountService.BankAccountServiceClient();
            BankAccountService.BankAccountB             bankOb     = new BankAccountService.BankAccountB();



            int bankNo = Int32.Parse(txt_profileBankNumber.Text);

            bankOb = bankClient.GetBankAccount(bankNo);
            int accId = bankOb.AccountId;

            return(accId);
        }