连接好就OK了建立个数据库,把数据导进去然后在IIS里测试网站
以SQL Server2000数据库northwind为例: Dim strConn,myDSN Set strConn = Server.CreateObject("ADODB.Connection") myDSN = "Driver={SQL Server};Server=192.168.1.1;DataBase=northwind;Uid=sa;Pwd=123456;" strConn.open myDSN