Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 23rd, 2004, 12:53 PM
Authorized User
 
Join Date: Mar 2004
Location: Benicia, CA, USA.
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.

  #2 (permalink)  
Old March 23rd, 2004, 01:35 PM
Authorized User
 
Join Date: Mar 2004
Location: Benicia, CA, USA.
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. ##

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 08:13 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.