<% set conn=server.createobject("adodb.connection") conn.connectionstring="PROVIDER=MSDASQL;DRIVER={SQL Server};SERVER=210.76.209.130;DATABASE=databasename;UID=sa;PWD=password;" conn.open %> 其中 210.76.209.130 就是远程服务器的IP