Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 21st, 2004, 03:44 AM
ASP.NETphreak ASP.NETphreak is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 1 ASP.NETphreak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy Database Update Code Problem

There is one database, one .aspx file (ASP.net) and two HTML files.
Quite simple really, all this code does is check to see whether the username and password is correct through two textboxes on the page and then takes whatever is in the third box and places that in the database. If it succeeds, it then shows the second HTML page (update.htm) if not, it will show the first HTML page (sorry.htm).

Now the problem: The page loads, enter in all the correct information and it shows that it is a success. Check back in the database to see if it HAS done anything and nothing has been changed.
Enter in the wrong password, and it takes you to sorry.htm like it should.

I have a feeling that the two variables created in the code are not matching. Even though it still takes me to the next page that says it has been successfully updated.

If anyone could help me, that would be greatly appreciated.
Attached Files
File Type: zip code.zip (15.1 KB, 255 views)

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > Database Update Code Problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT