예제 #1
0
파일: Gui.cs 프로젝트: udaykor/Demos_Files
 public void populateDropDownListWithListOfUserAccounts(DropDownList targetDropDownList, string userID)
 {
     object[] userAccounts = Global.objAccountManagement.GetUserAccounts_using_UserID("", userID);
     dataClasses.userAccount[] userAccountDetails = new HacmeBank_v2_Website.dataClasses.userAccount[userAccounts.Length];
     for (int i = 0; i < userAccounts.Length; i++)
     {
         targetDropDownList.Items.Add((string)userAccounts[i]);
     }
 }
예제 #2
0
 public void populateDropDownListWithListOfUserAccounts(DropDownList targetDropDownList,string userID)
 {
     object[] userAccounts = Global.objAccountManagement.GetUserAccounts_using_UserID("",userID);
     dataClasses.userAccount[] userAccountDetails = new HacmeBank_v2_Website.dataClasses.userAccount[userAccounts.Length];
     for (int i=0 ; i< userAccounts.Length;i++)
     {
         targetDropDownList.Items.Add((string)userAccounts[i]);
     }
 }
예제 #3
0
 public dataClasses.userAccount[] getAllUserAccountDetails(string sessionID, string userID)
 {
     object[] userAccounts = WS_GetUserAccounts_using_UserID(sessionID, userID);
     dataClasses.userAccount[] userAccountDetails = new HacmeBank_v2_Website.dataClasses.userAccount[userAccounts.Length];
     for (int i = 0; i < userAccounts.Length; i++)
     {
         userAccountDetails[i] = WS_GetAccountDetails_using_AccountID("", (string)userAccounts[i]);
     }
     return(userAccountDetails);
 }
        public dataClasses.userAccount[] getAllUserAccountDetails(string sessionID,string userID)
        {
            object[] userAccounts = WS_GetUserAccounts_using_UserID(sessionID,userID);
            dataClasses.userAccount[] userAccountDetails = new HacmeBank_v2_Website.dataClasses.userAccount[userAccounts.Length];
            for (int i=0 ; i< userAccounts.Length;i++)
            {
                userAccountDetails[i] = WS_GetAccountDetails_using_AccountID("", (string)userAccounts[i] );

            }
            return userAccountDetails;
        }