We're a community of 1076K IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,075,965 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

database on App_Data folder not updating

ok here is my problem im writing a program its a simple library system its not a project or homework just exercising my brain i have a access db library.mdb inside App_Data folder selecting records are working great
but when i decided to write a code for inserting a data to my table no compile errors but my table in App_Data is not updated but inside my bin/debug/App_Data/library.mdb <--this db is the one that got updated but my original copy of App_Data/library.mdb is not updated null records to the table reservetransaction my program is creating a copy of my database and saving it to bin/debug folder what i want is to update my original database

here is the link to my whole program the problem is my add cart button you can find it within frmSearch

Click Here

2
Contributors
1
Reply
9 Hours
Discussion Span
6 Months Ago
Last Updated
2
Views
wilen
Newbie Poster
16 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

Running your project inside Visual Studio in debug mode will not update your original database. This is so you can test things without changing things. Run the release version outside Visual Studio.

Momerath
Senior Poster
3,728 posts since Aug 2010
Reputation Points: 1,322
Solved Threads: 624
Skill Endorsements: 13

This article has been dead for over three months: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
 
© 2013 DaniWeb® LLC
Page rendered in 0.0769 seconds using 2.79MB