基础问题,求解!

asrock asrock 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<%
dim conn,sql,rs,SoftName,SoftLanguage,SoftID,ChannelID,AuthorName
set conn=server.createobject("adodb.connection")
conn.open "provider=microsoft.jet.oledb.4.0;data source="&server.mappath("../data/cdks.mdb")
set rs=server.createobject("adodb.recordset")
sql="select * from LZ8_Soft where SoftLanguage = 货车 order by SoftID asc"
rs.open sql,conn,1,1

if rs.eof and rs.bof then
response.write "数据库中没有数据"
else
while not rs.eof
response.write "姓名:"&rs("SoftName")&"电话:"&rs("SoftLanguage")&"学校:"&rs("AuthorName")&"<br>"
rs.movenext
wend
end if

rs.close
set rs=nothing
conn.close
set conn=nothing
%>

出现错误,提示如下:
Microsoft JET Database Engine 错误 '80040e10'

至少一个参数没有被指定值。

/oldcar/test1.asp,行 7
本人没有水平,不知错到底是在哪里,请高人指点!
...全文
评论 8
收藏 已收藏
分享
返回顶部
asrock
ASP 28,401 成员 356,940 内容