<form id="form2" name="form2" method="post" action="ckadd.asp">
<table width="720" height="30" border="1" align="center" cellpadding="0" cellspacing="0" bordercolorlight=#cccccc bordercolordark=#ffffff bgcolor=#f1f1f1>
<tr>
<td><div align="center">日期</div></td>
<td><div align="center">商品代码</div></td>
<td><div align="center">商品名称</div></td>
<td><div align="center">单耗量</div></td>
<td><div align="center">件数</div></td>
<td><div align="center">总用量</div></td>
</tr>
<%
dim rs1,exec1,rs2,exec2
exec1="select * from ck_temp"
set rs1=server.CreateObject("adodb.recordset")
rs1.open exec1,conn,1,1
exec2="select zc,ck_date from chmc"
set rs2=server.CreateObject("adodb.recordset")
rs2.open exec2,conn,1,1
%>
<% while not rs1.eof %>
<td><input type="text" name="ck_date" id="get6" style="width:70px; text-align:center" value="<%=rs2("ck_date")%>"></td>
<td><input type="texe" name="spno" style="width:50px;text-align:center" value="<%=rs1("spno")%>"></td>
<td><input type="texe" name="sp_name" style="width:300px;text-align:center" value="<%=rs1("sp_name")%>"></td>
<td><input type="text" name="dh" style="width:50px; text-align:center" value="<%=rs1("dh")%>"></td>
<td><input type="text" name="zc" style="width:50px; text-align:center" value="<%=rs2("zc")%>" </td>
<td><input type="text" name="grl" style="width:50px; text-align:center"></td>
</tr>
<%
rs1.movenext()
wend
%>
</form>
总用量(grl)的值 = 单耗量(dh)*件数(zc)
要怎样来实现呢?