下面是一段asp的调用代码,调用后显示是竖排,我想让它变成横排,每10个分页,请哪位大侠帮帮忙,谢谢了!

2025-01-05 08:46:27
推荐回答(1个)
回答(1):

<%
set conn=server.CreateObject("adodb.connection")
conn="provider=Microsoft.Jet.oledb.4.0;Data Source="&server.MapPath("1.mdb")
set Rs=server.createobject("adodb.recordset")
rs.open "select * from url order by id desc",conn,3,2
%>

border="0">

<%
for i=1 to 55
%>

<%
rs.movenext
if rs.eof then exit for
next
%>


" target="_self" title=<%=rs("vname")%>>
<%
if len(trim(rs("vname")))>10 then
response.Write left(trim(rs("vname")),10)&"..."
else
response.Write trim(rs("vname"))
end if
%>