[求助]参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突
<% userip = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If userip = "" Then
userip = Request.ServerVariables("REMOTE_ADDR")
end if
week=DatePart("w",date(),2)
select case week
case "1"
week="星期一"
case "2"
week="星期二"
case "3"
week="星期三"
case "4"
week="星期四"
case "5"
week="星期五"
case "6"
week="星期六"
case "7"
week="星期日"
end select
%>
<TABLE border="0" align="center" cellpadding="0" cellspacing="0">
<TR>
<TD><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="760" height="105">
<param name="movie" value="../images/top_flash.swf">
<param name="quality" value="high">
<embed src="../images/top_flash.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="105"></embed></object></TD>
</TR>
<TR>
<TD colSpan=2 vAlign=top><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" bgcolor="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tb1">
<tr>
<td><a href="index.asp" class="002">网站首页</a> | <a href="#" onclick="window.open('jtgk.asp','','width=516,height=500 scrollbars=yes')" class="002">局台概况</a>
| <a href="adv.asp" class="002">收视指南</a> | <a href="ad.asp" class="002">广告服务</a>
| <a href="gbdt.asp" class="002">广播电台</a>
| <a href="gdfw.asp" class="002">广电服务</a> | <a href="reColumn.asp?id=1" class="002">走近东山</a> | <a href="reColumn.asp?id=21" class="002">它山之石</a></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#333333"></td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD colSpan=2 vAlign=top><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25" bgcolor="#000000">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="tb1">
<tr>
<td><%
Set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from lb where lbpx<12"
rs.open sql,conn,1,1
while not rs.eof
if rs("lbpx") mod 2=1 then
%>
<a href="showlb.asp?id=<%=rs("id")%>&lbname=<%=rs("lbname")%>" class="002"><%=rs("lbname")%></a>
|
<%
end if
rs.movenext
wend
rs.close
set rs=nothing
%>
<a href="showbyxx.asp" class="002">百业信息</a> | <a href="music.asp">互动点歌</a></td>
</tr>
</table>
</td>
</tr>
<tr>
</TABLE>
以上是我的代码
ADODB.Recordset 错误 '800a0bb9'
参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突。
/dstv2005/dstv2005/www/include/top.asp,行 62
怎么回事啊
看了半天也不会
应该是红字的几行出错了