ADODB.Recordset 错误 '800a0bb9'参数类型不正确,或不在可以接受的范围之内,或与其他参数冲突 index.asp
<%setrs=Server.CreateObject("adodb.Recordset")sql="selectnewstitlefromcbwwheretype_id...
<%
set rs=Server.CreateObject("adodb.Recordset")
sql="select newstitle from cbw where type_id='1'"
rs.open sql,conn,1,1
while not rs.eof and not rs.bof
%>
<li><a href="/cbw/<%=replace(rs("addtime"),"-","")%>/<%=rs("id")%>.html" title="<%=rs("newstitle")%>"><%=rs("newstitle")%></a></li>
<%
rs.movenext
wend
rs.close
set rs=nothing
%>
</ul> 展开
set rs=Server.CreateObject("adodb.Recordset")
sql="select newstitle from cbw where type_id='1'"
rs.open sql,conn,1,1
while not rs.eof and not rs.bof
%>
<li><a href="/cbw/<%=replace(rs("addtime"),"-","")%>/<%=rs("id")%>.html" title="<%=rs("newstitle")%>"><%=rs("newstitle")%></a></li>
<%
rs.movenext
wend
rs.close
set rs=nothing
%>
</ul> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询