Options

any example of connection to remote server

jamest85jamest85 Posts: 7
Hi:

From the example code, we assign serverName like this:

public const string DevServerName = "JamesDB\\SQLEXPRESS"; //Change the server name accordingly.


public const string LiveServerName = DevServerName;//Change the server name accordingly.


How to assign a DevServerName value if my Database is hosting in a web hosting company?

Do you guys have an example?

Thanks

James

Comments

  • Options
    This was answered via a private support ticket, but the advice was to use the same connection string as you would use to connect to the hosted server using SSMS.
    Chris
Sign In or Register to comment.