![]() |
Sergey Kornilov admin 7/15/2010 |
This is quite possible. Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;
|
A
|
admin author 7/18/2010 |
This is quite possible. Here is the sample connection string that uses SQL Server IP address to connect: Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;
|
![]() |
Sergey Kornilov admin 7/18/2010 |
It's possible to implement dynamic connection string. You can try to use AfterAppInitialized event and the following code: strConnection = "Data Source=" & Request.ServerVariables("REMOTE_ADDR") & ",1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;" |