Click here to Skip to main content
15,897,704 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have experienced when I run my application from Vb.Net, any changes made to the data base through application, remain limited to my Data bases in Bin/Debug folder. So when I run my application next time, these data bases are overwritten by the data bases from main folder that contains my code files.
Is it possible to set it so that when I make the changes to my data bases, they to go the data bases of my main folder, instead of Debug folder's files.

Thanks
Furqan
Posted

1 solution

You should have the database located centrally with a connection string pointing to it so that anyone changes done to the database are in a central location. There should never be multiple copies of the database.

So something seems to be wrong with your implementation here.
 
Share this answer
 
Comments
Furqan Sehgal 21-Apr-11 2:13am    
Thanks Abhinave,
Actually I am talking about design time. When application is built, everything is alright. Is there any solution to fix it when you are running it from VB, to test it again and again?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900