求总价格,可是却显示不出来?
<% 
  '-------------------------------------- 
 rs.open    "select   num,price   from   test   where   id   =2 " 
  '----------------------------------- 
 %>  
 合计金额: <input   name= "totalPrice "   type= "text "   id= "totalprice "   value= " <%=rs( "price ")%> * <%=rs( "num ")%>  ">    
 显示结果为2*200         我想得到400的结果,该怎么做呢?
------解决方案--------------------value= " <%=rs( "price ") * rs( "num ")%>  "
------解决方案--------------------乘号*没有写在 <%%> 里面,当然不会计算了