基础问题,求解!
<%
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
本人没有水平,不知错到底是在哪里,请高人指点!