How can we help you today? How can we help you today?

any example of connection to remote server

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
jamest85
0

Comments

1 comment

  • Chris Auckland
    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 Auckland
    0

Add comment

Please sign in to leave a comment.