Wrox Programmer Forums
|
BOOK: ASP.NET Website Programming Problem-Design-Solution
This is the forum to discuss the Wrox book ASP.NET Website Programming: Problem - Design - Solution, Visual Basic .NET Edition by Marco Bellinaso, Kevin Hoffman; ISBN: 9780764543869
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET Website Programming Problem-Design-Solution section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 23rd, 2004, 12:53 PM
Authorized User
 
Join Date: Mar 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default myaccount

Someone please open my eyes. I am looking over the downloaded code and in the MyAccount module there is no Country field, yet the business and date user class update()includes country and more importantly the SP_accounts_updateUser included Country and does not give a null uption. How does this code work?

Please open my eyes.

 
Old March 23rd, 2004, 01:35 PM
Authorized User
 
Join Date: Mar 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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. ##






Similar Threads
Thread Thread Starter Forum Replies Last Post
MyAccount.aspx Error coolnetboy BOOK: ASP.NET Website Programming Problem-Design-Solution 5 June 15th, 2006 05:51 AM
Problem: 'Sign Out' on "MyAccount.aspx" reidcor BOOK: ASP.NET Website Programming Problem-Design-Solution 4 April 11th, 2005 11:22 AM
Invalid cast in MyAccount.aspx carinlindberg BOOK: ASP.NET Website Programming Problem-Design-Solution 6 January 15th, 2005 11:49 PM
MyAccount.aspx : can't modify email address Gjerstad BOOK: ASP.NET Website Programming Problem-Design-Solution 5 September 17th, 2003 01:52 PM
exiting MyAccount.aspx robert BOOK: ASP.NET Website Programming Problem-Design-Solution 2 July 17th, 2003 11:23 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.