itake it you mean connection to a server other than local. You can use the following
myConnectionString = "Initial Catalog=Northwind;Data Source=%26lt;ServerName or IP Address%26gt;;";
Take a look in your Visual Studio doco or on MSDN. There is heaps of sample code around
Can give me an example on Connection String in C# to invoke "sql DataBase" exist in other computer?
Try this,
server=servername;Trusted_Connection=f... id=;password=sa"
Ashwath
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment