ASP表格循环问题,烦请高手解决!

2025-03-23 04:54:04
推荐回答(1个)
回答1:








<%do while not rs.eof%>







<%
di=di+1
if di>=MaxPerPage then exit do
rs.movenext
loop
end if
rs.close
set rs=nothing
conn.close
set conn=nothing
end if
%>
器件型号 基本参数 厂家Logo Datasheet


<%'''
wfqname=rs("titledata")
if request("k")<>"" then
for i = 0 to ubound(KN)
wfqname=replace(wfqname,""&KN(i)&"",""&KN(i)&"")
next
end if%>
"><%=wfqname%>

<%if rs("bodydata")<>"" then%><%bodydata=rs("bodydata")
if request("k")<>"" and request("kt")<>"软件名称" and request("type")<>"sou" then
for i = 0 to ubound(KN)
bodydata=replace(bodydata,""&KN(i)&"",""&KN(i)&"")
next
end if%><%=bodydata%><%else%>内容正在完善中<%end if%>
">" border="0" /> ">下载


试试这个行不行