标题:[求助]未指定的错误
只看楼主
触电
Rank: 1
等 级:新手上路
威 望:1
帖 子:228
专家分:0
注 册:2006-7-26
 问题点数:0 回复次数:0 
[求助]未指定的错误

<!--c13_4_1.asp-->
<html>
<head><title>股票行情表</title></head>
<body>
<center>
<p><img src="title.jpg"></p>
<%
Set cnObj = Server.CreateObject("ADODB.Connection")
dbpath = Server.MapPath("DB.mdb")
cnObj.ConnectionString = _
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & dbpath
cnObj.Open Access,1,1
Set rsObj = cnObj.Execute("股票行情表")
%>
<table border="2" cellpadding="5" cellspacing="5">
<tr bgcolor="#99FFFF">
<%
For i = 0 To rsObj.Fields.Count - 1
Response.Write "<th>" & rsObj.Fields(i).Name & "</th>"
Next
%>
</tr>
<%
Do While Not rsObj.EOF
Response.Write "<tr>"
For i = 0 To rsObj.Fields.Count - 1
Response.Write "<td>" & rsObj.Fields(i).Value & "</td>"
Next
Response.Write "</tr>"
rsObj.MoveNext
Loop
cnObj.Close
Set rsObj = Nothing ' 将rsObj设为Nothing,表示释放rsObj对象的资源
Set cnObj = Nothing ' 将cnObj设为Nothing,表示释放cnObj对象的资源
%>
</table>
</center>
</body>
</html>


Microsoft JET Database Engine 错误 '80004005'

未指定的错误

/ch13/c13_4_1/c13_4_1.asp,行 12

搜索更多相关主题的帖子: 股票 
2006-11-13 21:11



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-102722-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.100823 second(s), 7 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved