Click here to Skip to main content
15,895,709 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello sir/medam.

I have makes complete project in c# window application. Now i want to makes .exe(setup) of my project for given client.I have taken sql server2005 for database. I makes .exe but when i run this project in another pc. it can gets an error. I think it can't get path of database in connectionstring.....

How can i makes exe with this database which run all terminal with this database...????

Reply me....
Posted
Comments
ArunRajendra 11-Jul-13 3:25am    
keep the connetion string in config file. Change the config as per your clients network setup.
vinayakJJ 11-Jul-13 3:53am    
instead of it use compact edition database no need of sql server installation on client pc and no need of connection string directly give path like application.startuppath and keep db in application installation folder
Richard MacCutchan 11-Jul-13 6:00am    
it can gets an error.
If you want people to help you then you need to show exactly what that error is; no one can guess what is happening on your computer.
keyur_raval 11-Jul-13 6:14am    
But sir how can i attach database file in my project

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