日期:2014-05-17  浏览次数:20762 次

在线 呵呵 我又来问你们了
页面问题:
错误类型:
ADODB.Recordset   (0x800A0BB9)
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
/shopping/serch.asp,   第   20   行


我的代码:

<%
id=request( "dierji ")
userid=session( "id ")
strsql= "select   *   from   yiyao   where   function= "&id& "   or   leibie= "&id& "   or   yibao= "&id& "   or   chufang= "&id& " "
set   rs=Server.CreateObject( "ADODB.RecordSet ")
rs.open   strsql,conn,3,3

if   rs.eof   then
%>


第20行是       rs.open   strsql,conn,3,3

------解决方案--------------------
可能你的程序没有调用数据库链接文件吧
比如conn.asp
没有打开conn