Click here to Skip to main content
15,888,002 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Buddies:

I have two questions:

1. if I create a database using sql server and bring this db file and its application program which uses this db to another computer does my application works? (I think the CONNECTION STRING will be changed)

2. can my program work properly in another computer without sql managment sys.?

Yours
Posted

1 solution

For 1, yes the connection string needs to be modified. Please refer to Connection strings for SQL Server 2008[^]

For 2, yes, on the client side you just need the SQL Server client, which is part of the .Net framework (SqlClient namespace)
 
Share this answer
 
Comments
Maciej Los 23-May-12 16:07pm    
Succinct and to the point! +5!
Wendelius 23-May-12 16:10pm    
Thanks losmac :)

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