المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Sql connection



C# Programming
08-23-2009, 06:51 PM
Hi all,

when i run my application on a local PC to connect to SQL which is installed Locally i use the following config file.


CelData
mydatabase
test
test
False


However ,now i would like to connect to a database on remote PC (with different IP address).When i Run the application locally i would like to connect to the other server that is hosting the database.

How would i change the above script so that the database is going to be the one on the remote server?

Please advice.

Thank you in advance.