|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
How to mantain sql connection
How to mantain sql connection in vb.net winform application after deployment.
I use in this code while debuging SqlconnectionString = "Connection string" But what after deployment. Server name may change. how to handel that after deployment. Please help me. |
|
#2
|
|||
|
|||
|
I think we (well, not me, but the systems guys) gave our server a cname which is an alias.
Our connection strings use the alias. That way, we can replace the box,and as long as the alias is reapplied to the new box, everyone is happy |
![]() |
| Viewing: Dev Articles Community Forums > Programming > .NET Development > How to mantain sql connection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|