数据库连接 On Error Resume Next 容错声明 response.buffer=true Set conn = Server.("ADODB.") conn.Open"Provider=sqloledb;user id="&&";password="&&";initial catalog="&&";data source="&&";" If Err Then err.Clear Set Conn = Nothing Response.Write "错误提示:系统升级中" Response.End End If
="(local)" 服务器名称或IP地址
="" 数据库帐号
="" 数据库密码
="" 数据库名称
数据库连接
="(local)" 服务器名称或IP地址
="" 数据库帐号
="" 数据库密码
="" 数据库名称
数据库连接
On Error Resume Next 容错声明
response.buffer=true
Set conn = Server.("ADODB.")
conn.Open"Provider=sqloledb;user id="&&";password="&&";initial catalog="&&";data source="&&";"
If Err Then
err.Clear
Set Conn = Nothing
Response.Write "错误提示:系统升级中"
Response.End
End If