基础问题,求解!
<%
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
本人没有水平,不知错到底是在哪里,请高人指点!
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
本人没有水平,不知错到底是在哪里,请高人指点!
...全文
相关推荐
Visual Studio Code 中终端基础知识详细介绍.pdf
vscode——Visual Studio Code 中终端基础知识详细介绍
content_1728390294813.zip
content_1728390294813.zip
Building Embedded Linux Systems.pdf
手把手教你如何建立自己嵌入式linux系统
Visual Studio Code入门
介绍MS Visual Studio系列中最新,最精简,最有用的工具!
visual studio code 快捷键速查表 最全PDF 可打印中文版
官方英文版的快捷键速查表 直接翻译了快捷键说明,可以方便打印使用。上传word版本,可以直接打印,也可以自己再次修改,或者直接自己转换为pdf方便阅读


