日期:2014-05-16 浏览次数:20846 次
<table border="1" width="100%" cellspacing="0" cellpadding="0" class='tableBorder tableBorder-thcenter'>
<tr><th width="5%"></th>
<th width="10%">类id</th>
<th width="20%">类名称</th>
<th width="20%">类描述</th>
<th width="45%">操作</th>
</tr>
<%
'根据classid来关联smallclass小类表,取得相应的小类数据
set rs1=server.CreateObject("adodb.recordset")
rs1.open "Select * From smallClass",conn,1,1
do while not rs1.eof
%>
<tr bgcolor="#E3E3E3><td> - </td>
<td><%=rs1("smallclassid")%></td>
<td><%=rs1("smallclassname")%></td>
<td><%=rs1("dscr")%></td>
<td align="center"></td>
</tr>
<%
rs1.movenext
loop
call rs1close
call connclose()
%>
</table>