Ok, I found that in the business class for the original ThePhile app that Country is hardcoded. I added myCountry to the business class, added a text box in the myaccounts.aspx and successfully load into the text box on page load. I set the newtext box.text to currentUser.Country but I am getting the following error. What am I missing that would cause the Index to be out of bounds? I have checked the stored procedure, data class and business class and can not see what I am missing.
## 2004.3.23 @ 9:24:55 (GMT -1) ## Application failed to save changes to Account ##
## 2004.3.23 @ 9:24:55 (GMT -1) ## Index was outside the bounds of the array. ##
## 2004.3.23 @ 9:27:53 (GMT -1) ## Application failed to save changes to Account ##
## 2004.3.23 @ 9:27:53 (GMT -1) ## Index was outside the bounds of the array. ##
|