哪位高手帮忙看一下这段asp代码?谢谢了!!!

来源:百度知道 编辑:UC知道 时间:2024/05/17 03:31:23
为什么最后一行出错?谢谢了!!!
<html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><title>新建网页 1</title>
<meta name="Microsoft Theme" content="sky 1011, default">
</head><body><% set conn=server.createobject("adodb.connection")
conn.open "driver={microsoft access driver (*.mdb)};dbq="&server.mappath("example3.mdb") %>
<% exec="select * from guestbook"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1 %></body></html>

你把原文件,和数据库,发到我邮箱,可以帮你测试!
xf104955@163.com

刚我帮你看了...你数据库里面表都没有啊(guestbook)...你怎么去进行访问了. 把表建好你自己再去试试..不行的话再说咯