sql server 数据库连接代码
<%
'---------------------连接数据库---------------------------------------------------------
dim strprovider,conn
set conn=server.CreateObject("Adodb.connection")
strprovider = " PROVIDER=SQLOLEDB;DATA SOURCE=localhost; User ID=abc_com;Password='123'"
conn.open strprovider
%>