Click here to Skip to main content
15,896,207 members
Please Sign up or sign in to vote.
3.00/5 (1 vote)
See more:
Hello
I have a c# program and want to connect it to remote sql server (sql server on another machine)
and i need help with the connection string inside the c# program
DataSource=?
InitialCatalog = this the my database
UserID = username
Password = password
Posted

hello,

DataSource is your remote server name or instance.

have a look there:

http://www.connectionstrings.com/sql-server-2008[^]

Valery.
 
Share this answer
 
 
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