Click here to Skip to main content
15,917,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am working on one small project , which is build in C# windows form application.
and uses Sql server 2008 , now I am currently testing all things in sql server but when I installed this application to client side who uses my sql database. then how my application works on there my sql database - I have userid , password and server name all information which is necessary for connection . but Is my application working on there database?


please answer I have huge doubt about this?
Posted

1 solution

You configure your connection string in the appropriate place in the config file

Connection Strings and Configuration Files[^]

When you deploy to their servers you change the connection string in the config such that it matches their sql server. You'll need your database on there too.
 
Share this answer
 
Comments
Member 11543226 20-Jan-16 6:02am    
we have same database and i also change connection string which is used on my sql server, then is there a possibility that works well?? By changing only connection string is it accessible to there server??

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