<form name="reviseform" id="reviseform" action="reviseorder.asp" method="post">
<table border="0" cellpadding="0" cellspacing="1" bgcolor="#0000FF" align="center">
<tr bgcolor="#FFFFFF" align="center">
<th width="40" align="center" height="27">序号</th>
<th width="75" align="center" height="27">订单编号</th>
<th width="75" align="center">商品名称</th>
<th width="45" align="center">包装</th>
<th width="45" align="center">数量</th>
<th width="60" align="center">单价</th>
<th width="75" align="center">订货人</th>
<th width="75" align="center">订单时间</th>
<th width="50" align="center">操作</th>
</tr>
<%
for i=0 to rs.pagesize-1
if rs.bof or rs.eof then exit for
%>
<tr bgcolor="#FFFFFF" align="center">
<td width="40" align="center" height="27"><%=rs(0).value%></td>
<td width="75" align="center" height="27"><%=rs(1).value%></td>
<td width="75" align="center"><%=rs(2).value%></td>
<td width="45" align="center"><%=rs(3).value%></td>
<td width="45" align="center"><%=rs(4).value%></td>
<%if rs(5).value<>0 then %>
<td width="60" align="center"><%=rs(5).value%>元/斤</td>
<%else%>
<td width="60" align="center" id="fk<%=rs(0).value%>"><input type="text" size="5" name="fk<%=rs(0).value%>" id="fk<%=rs(0).value%>" /></td>
<%end if%>
<td width="75" align="center"><%=rs(6).value%></td>
<td width="75" align="center"><%=rs(7).value%></td>
<%if rs(5).value<>0 then %>
<td width="50" align="center"></td>
<%else%>
<td width="50" align="center">
<a href='reviseorderjs.asp?revise_id=<%=rs(0).value%>&revise_pay=fk<%=rs(0).value%>'>确认</a></td>
<%end if%>
</tr>
<%
rs.movenext()
next
%>
</table>
</form>
<p align="center">
<a href="allorder.asp">首页</a>
<a href="allorder.asp?page=<%=epage-1%>">上一页</a>
<a href="allorder.asp?page=<%=epage+1%>">下一页</a>
<a href="allorder.asp?page=<%=rs.pagecount%>">末页</a>
现在是第<%=epage%>页一共有<%=rs.pagecount%>页</p>
<%
conn.close()
%>
请问<a href='reviseorderjs.asp?revise_id=<%=rs(0).value%>&revise_pay=fk<%=rs(0).value%>'>确认</a></td>
这句该如何修改才能传值正确,或者如何提交整个表单,请老鸟帮忙一下,谢谢 |