-
November 12th, 2007, 12:45 PM
#1
database not saved anymore
Hi,
I once changed an option somewhere so that my database file isn't saved anymore
example : When I press "Start debugging" and do some changes to my database and when I stop debugging and restart my application all changes are back to normal.
The problem now is that I do not know anymore what option I need to change to go back to the normal debugging (All changes stay.)
Any1 can help me?
-
November 13th, 2007, 02:40 AM
#2
Re: database not saved anymore
Are you working with transactions which you are not committing?
-
November 13th, 2007, 05:35 AM
#3
Re: database not saved anymore
Your thread title is misleading. Your changes ARE saved, just as they were before. It's just that when you recompile a new copy of the database is written over the changed one.
Select the database file in the Solution Explorer and open the Properties window, then edit the 'Copy to Output Directory' property. The default is 'Copy Always' which was a bad choice. It should have been 'Copy if Newer', which is what most people want.
-
November 13th, 2007, 01:59 PM
#4
Re: database not saved anymore
thx jmcilhinney,
that was the right solution
sorry for the misleading thread title
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|