日期:2014-05-16  浏览次数:21149 次

ODBC 驱动程序不支持所需的属性
看看代码有什么错误没有?
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<% set conn = server.CreateObject("ADODB.Connection")
conn.open"driver={Microsoft Access Driver (*.mdb)};dbq="& server.Mappath("../data base/data.mdb")
%>
<%
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from 3ds Max",conn,1,1
%>
<%for i=1 to 6%>
<%=rs("bt")%>&nbsp;
<%=rs("zz")%>&nbsp;
<%=rs("ll")%>&nbsp;
<%=rs("pl")%>&nbsp;
<%=rs("rq")%>&nbsp;
<%=rs("sj")%>&nbsp;<br>
<%rs.movenext
next%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
</body>
</html>
html access

------解决方案--------------------
 
"select * from 3ds Max" 这语句对?
<%for i=1 to 6%>   你要确定 >6 条记录
------解决方案--------------------
楼主的语句,

如果3ds是一个存在的表,而且max不是保留字的话。语句是不会出错的。