怎么不好用
<%Set Conn1=Server.CreateObject("ADODB.Connection")
Connstr="DBQ="+server.mappath("../bbs/data/Dvbbs7.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)}"
Conn1.Open connstr
%>
<%set rs=server.CreateObject("adodb.recordset")
rs.Open "select top 5 * from Dv_BestTopic order by dateandtime desc",conn1,1,1%>
<%if rs.eof and rs.bof then %>
没有新帖
<%else%>
<%do while not rs.eof %>
<% = rs ("PostUserName") %>
<%
rs.MoveNext
loop
end if
rs.Close
set rs=nothing
%>
错误提示
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver]常见错误 不能打开注册表关键字 'Temporary (volatile) Jet DSN for process 0xadc Thread 0xc40 DBC 0xbec024 Jet'。
/inc/left.asp, 第 227 行