📄 12021.html
字号:
<html>
<head>
<title>改用connection String</title>
</head>
<body bgcolor="#FFFFFF" vlink="#808080">
<center>
<h1>改用connection String</h1>
</center>
<hr size=7 width=75%>
<hr size=7 width=75%><p>
Posted by <a href="mailto:vbpronet@hotmail.com">帅帅阿柳</a> on April 15, 1999 at 11:45:49:<p>
In Reply to: <a href="12016.html">用 TCP/IP 存取 SQL Server ...</a> posted by Wade on April 15, 1999 at 09:43:30:<p>
<center><img src="http://www.vbpro.net/images/vbpro.gif"></center><p>
我一直觉得在client端设定dns的方式缺乏弹性,只要server有任何变动,保证累死programmer(除非改用3-tier).<br>至于您提到的问题,我不晓得如何"主动侦测",因为使用tcp/ip的protocol必须晓得ip;但如果在程式中使用connection string,最起码只要改program的一行程式码,若能配合类似liveupdate更新程式的方法,或许能解决您的需求.
<br>
<ul><li><a href="http://www.vbpro.net/">VBPro.NET中文资源网</a></ul>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 12021-->
<!--top: 12039--><li><a href="12039.html">我用的就是 connection String ...</a> <b>Wade</b> <i>18:04:41 4/15/99</i>
(<!--responses: 12039-->1)
<ul><!--insert: 12039-->
<!--top: 12050--><li><a href="12050.html">Client端的ODBC版本</a> <b>帅帅阿柳</b> <i>01:06:31 4/16/99</i>
(<!--responses: 12050-->0)
<ul><!--insert: 12050-->
</ul><!--end: 12050-->
</ul><!--end: 12039-->
</ul><!--end: 12021-->
<br><hr size=7 width=75%><p>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -