也没有华丽的js 脚本
转置的方法就是设置
a1 a2 a3 a4
b1 b2 b3 b4
c1 c2 c3 c4
d1 d2 d3 d4
多组变量去作为变量取出数据
<td class="td1"><%d1=Formatnumber(rs4("上年同期;1-本月;零售额;千元")/100000,1,-1,-1,0)%></td>
呈现的时候采用的方法是:
<%if d2<>0 then %>
<td class="td1"><%=Formatnumber(((b2/d2)-1)*100,1,-1,0,0)%> </td>
<%end if %>
Formatnumber 的含义是将数字格式化。