Click here to Skip to main content
15,913,773 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.. friends I have a project developed in vb.net and I have created a database in access named db_SmartData and further make a table into this database named tb_Server now I want to add this database into the debug folder of this application this because when I build the application the database of access automatically go with the application where I install the application. Actually my real purpose about all this is that I store into tb_Server table the information of the server and make a static connection string with access only fetch data from this table if the program run first time on any machine then it will check the server from the access table named tb_Sever if it is not exist then it will ask to user to save the server name. So please help me how I can make a access database and table and add it in to debug folder of the application and make a connection with it.
Posted

1 solution

1- add your database to your project
2- right click on it and choose properties
3- set it to be copied allways to out put folder
 
Share this answer
 

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