Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello Sir/Madam

I am create in windows form application using c#.net with MS Access Database but when this project copy other computer when run it then it can't create connection other computer then how to fix connection in windows form application project for other computer?
Posted
Updated 23-May-13 22:17pm
v2
Comments
lukeer 24-May-13 4:56am    
Don't repost[^]. Edit your original question instead using the "Improve question" link. Provide further inside/relevant code parts/error messages according to the comments you received to your question.

Hi Patel,
any specific reason for using Access database? I would suggest maybe MSSQL or MySQL.
If this two computers are on the same network i.e DB on one computer and App in another check in the app.config and specify the ip address in the <connectionstrings> tag or if check you connection string in the code if you have decided to specify in the .cs file
 
Share this answer
 
Go with odbc connection
 
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