主题:  怎么样让这个表格重复 显示出各个调查情况

amily4555

职务:普通成员
等级:1
金币:0.0
发贴:20
#12004/4/12 12:28:59
<div align="center">
<center>
<table border="0" width="600" bordercolorlight="#000000" cellspacing="0" cellpadding="0" bordercolordark="#FFFFFF" height="73">
<tr>
<td width="596" colspan="3" height="23" bgcolor="#E7E7E7">
<p align="center"><b><font size=3 color=#0066cc>~<%=title%>~</font></b></td>
</tr>
    <%rs.movefirst
    do while not rs.eof%>
<tr>
<td height="23" width="164" bgcolor="#E7E7E7">
<p align="center"><%=rs("vote")%></td>
        <%h=(rs("count")*300)/totalcount%>
<td height="23" width="300" valign="middle" bgcolor="#E7E7E7">
<table border="0" width="<%=h%>" height="13" bgcolor="<%=rs("color")%>" cellspacing="0" cellpadding="0" bordercolorlight="#000000" bordercolordark="#FFFFFF">
<tr>
<td width="100%" style="border-style: solid; border-width: 1" valign="middle"></td>
</tr>
</table>
</td>
<td height="23" width="129" bgcolor="#E7E7E7">
<p align="center"><font color=green><%=rs("count")%></font> 票(<%=cint((rs("count")*10000)/totalcount)/100%>%)</td>
</tr>
    <%rs.movenext
    loop%>
<tr>
<td width="596" colspan="3" height="21" bgcolor="#E7E7E7">
<p align="center">共有投票<b><font color=red><%=totalren%></font></b>人次</td>
</tr>
</table>
</center>
</div>

编辑历史:[此帖最近一次被 allinhands 编辑过(编辑时间:2004-04-12 12:43:20)]