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]); } }
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]); } }
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; }