Prendi spunto:
codice:
<%
dim myResults(4,1)
myResults(0,0) = 55
myResults(0,1) = "red"
myResults(1,0) = 48
myResults(1,1) = "green"
myResults(2,0) = 243
myResults(2,1) = "blue"
myResults(3,0) = 123
myResults(3,1) = "white"
myResults(4,0) = 100
myResults(4,1) = "black"
%>
<table width="<%=50 * (uBound(myResults) + 1)%>" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
<tr>
<% for i = 0 to uBound(myResults) %>
<td valign="bottom">
<table width="50" height="<%=myResults(i,0)%>" bgcolor="<%=myResults(i,1)%>">
<tr>
<td></td>
</tr>
</table>
</td>
<% next %>
</tr>
</table>