<% dim Conn,StrConn set conn=server.CreateObject("ADODB.Connection") StrConn="driver={SQL Server};dsn="localserver";Uid="sa";pwd="",database="QQ"" On Error Resume Next Conn.open StrConn If Err Then err.Clear Set Conn = Nothing Response.Write "<br><br><br><br><br><br><br><div align='center'>数据库连接出错!请检查连接数据库的参数及字符串设置是否正确!</div>" Response.End End If 请各位高手帮帮忙看下有什么不对的!!!!!!!!