<%
sql=
select*fromserrwhereorderbyidasc
setrs=server
createobject(
adodb
recordset
)
rs
opensql
conn
%><styletype=
text/css
>
<!
body
td
th{
font
size:
px;
}
>
</style>
<tablewidth=
%
align=
center
>
<%
fori=
tors
recordCount
变量i从
循环到数据库中的全部记录数
if(imod
=
)then
每个tr显示
个记录
可根据需要自行修改
response
write
<tr>
endif
response
write
<tdwidth=
>
&rs(
title
)&
<br>
&rs(
con
)&
<br>
&rs(
www
)&
<br>
&rs(
keyword
)&
</td>
if(imod
=
)then
response
write
</tr>
endif
rs
movenext
next
rs
close
%>
</table>