asp购物车修改数量问题
DimYourPrice,strprice2,strvipprice,ProScorestrprice1=Round(rsCheck("Price1"),2)strpri...
Dim YourPrice,strprice2,strvipprice,ProScore
strprice1 = Round(rsCheck("Price1"),2)
strprice2 = Round(rsCheck("Price2"),2)
strvipprice = Round(rsCheck("VipPrice"),2)
ProScore = rsCheck("Score")
YourPrice = Round(rsCheck("" & LstPrice & ""),2)
Sum = Sum + YourPrice *Quatity '(YourPrice + strvipprice)*Quatity
Sum=Round(Sum,2)
SumS = SumS + ProScore*Quatity
%>
<tr bgcolor="#FFFFFF" height="25"align="center">
<td><input type="CheckBox" name="ProdId" value="<%=rsCheck("ID")%>" Checked></td>
<td align="left"> <a href="product.asp?ID=<%=rsCheck("ID")%>" target="_blank"><%=rsCheck("Name")%></a></td>
<td><input type="Text" name="<%="Q_" & rsCheck("ID")%>" value="<%=Quatity%>" size="2" class="form"></td>
<td><%=ProScore %></td>
<!-- <td></td>----------------->
<td><%=strprice2 %></td>
<!--- <td></td> ----------->
<!-- <td></td>-------------->
<td><%=Round(YourPrice *Quatity,2) %></td>
</tr>
<%
rsCheck.MoveNext
Loop
rsCheck.close
set rsCheck=nothing
%>
<tr bgcolor="#FFFFFF">
<td colspan="4" align="center" valign="middle">
<input type="submit" name="order" value="Update" class="btnbk">
<input type="submit" name="payment" value="Check out" class="btnbk"> 修改数量怎么传递到 checkout按扭怎么没有变动 展开
strprice1 = Round(rsCheck("Price1"),2)
strprice2 = Round(rsCheck("Price2"),2)
strvipprice = Round(rsCheck("VipPrice"),2)
ProScore = rsCheck("Score")
YourPrice = Round(rsCheck("" & LstPrice & ""),2)
Sum = Sum + YourPrice *Quatity '(YourPrice + strvipprice)*Quatity
Sum=Round(Sum,2)
SumS = SumS + ProScore*Quatity
%>
<tr bgcolor="#FFFFFF" height="25"align="center">
<td><input type="CheckBox" name="ProdId" value="<%=rsCheck("ID")%>" Checked></td>
<td align="left"> <a href="product.asp?ID=<%=rsCheck("ID")%>" target="_blank"><%=rsCheck("Name")%></a></td>
<td><input type="Text" name="<%="Q_" & rsCheck("ID")%>" value="<%=Quatity%>" size="2" class="form"></td>
<td><%=ProScore %></td>
<!-- <td></td>----------------->
<td><%=strprice2 %></td>
<!--- <td></td> ----------->
<!-- <td></td>-------------->
<td><%=Round(YourPrice *Quatity,2) %></td>
</tr>
<%
rsCheck.MoveNext
Loop
rsCheck.close
set rsCheck=nothing
%>
<tr bgcolor="#FFFFFF">
<td colspan="4" align="center" valign="middle">
<input type="submit" name="order" value="Update" class="btnbk">
<input type="submit" name="payment" value="Check out" class="btnbk"> 修改数量怎么传递到 checkout按扭怎么没有变动 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询