/Home /Archive /Syndicate /Blog /Support /About /Contact  
All Visual Basic Feeds in one place!





Your problem is likely the result of the Copy to output directory property on the database.

The Copy to output directory property controls when your database is copied when debugging your application.

By default, the database is copied to the output directory every time you debug (F5) your application.  This means you will never see the results of the last debug session because inserts, updates, and deletes are made to the copy in the output directory and the next time you debug, the project database is copied to the output directory, replacing the copy with your edits.

For debugging, change the Copy to output directory property to Copy if Newer

The Copy To Output Directory option can be found on the property window when the database is selected in Solution Explorer.

Mike McIntyre [MVP Visual Basic]
Source Code for .Net Programmers
www.getdotnetcode.com
Blog - Mike McIntyre's .Net Journal

 

© 2005 Serge Baranovsky. All rights reserved.
All feed content is property of original publisher. Designated trademarks and brands are the property of their respective owners.

This site is maintained by SubMain(), a division of vbCity.com, LLC