请问这是什么意思!
If Not IsObject(Conn) Then ConnectionDatabase这里Sub ConnectionDatabase
Dim ConnStr
Db="data/elookarticle2.mdb"
ConnStr="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath(Db)
On Error Resume Next
Set Conn=Server.CreateObject("ADODB.Connection")
Conn.Open Connstr
If Err Then
Err.Clear
Set Conn = Nothing
Response.Write "数据库连接出错!!"
Response.End
End If
End Sub
[此贴子已经被作者于2005-12-5 15:43:29编辑过]