怎么将相同行内容合并 数据是从数据库动态取得的 asp怎么写?
hhfh 2005-04-22 10:56:31 怎么将相同行内容合并
数据是从数据库动态取得的
asp怎么写?
<%while not rs.eof %>
<td align="center"><%= f_Product_Type %></td>
<td align="center"><%= f_Quantity %></td>
</tr>
<%rs.movenext
wend %>
如下面编号相同合为一行 然后把数量累计宰一块
编号 数量 总数量
A 66 66
-----------------------
B 22 55
-----
33
------------------------
C 843 843
------------------------