急!请大哥帮忙,小妹在线等!
<html>
<head>
<title>无标题文档</title>
</head>
<body>
<%
set conn=server.CreateObject("adodb.connection")
conn.open"driver{microsoft access driver (*.mdb)};dbq="&server.MapPath("guestbook.mdb")
%>
<%
exec="select * from guestbook"
set rs=server.CreateObject("adodb.recordset")
rs.open exec,conn,1,1
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<% do while not rs.eof%><tr>
<td><% =rs("name") %></td>
<td><% =rs("tel") %></td>
<td><% =rs("message") %></td>
<td><% =rs("time")%></td>
</tr>
<% rs.movenext
loop
%>
</table>
</body>
</html>
怎么我运行时出现了错误!
错误信息为:
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/wyy1001/landscape/3.asp, 第 10 行
浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
网页:
GET /wyy1001/landscape/3.asp
时间:
2004年8月9日, 16:32:22
详细信息:
Microsoft 支持
我建立了一个数据库!