a高手请进在线等待,网页间参数传递 急急急~~!!!
最终目标
书名 编号 修改
111 book-10-20-210 submit
222 book-10-20-211 submit
.... ............. ......
点击submit的时候传递相对编号的值,而我写的程序在传递参数getmethod_input 时候出现
book-10-20-210 book-10-20-21...........说明我的参数传递错误,不知道那里出现了错误,怎么解决,没有有更简便的方法实现这个!小第在此先谢谢大家了
查询数目文件如下
<!-- #include file="../db/database_connection.asp" -->
<%
'Check the Session("strID")
Sub OrderList()
'Exact the order list
Dim rsOrder 'as New ADODB.Recordset
Set rsOrder=Server.CreateObject("ADODB.Recordset")
Dim strSql 'as String
strSql="select * from tbl_book "
rsOrder.Open strSql,m_con,3,3
if rsOrder.RecordCount>0 then
%>
<table width="1015" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="973" height="54"></td>
<td width="42"></td>
</tr>
<tr>
<td valign="top" height="82">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" width="388" valign="top">
<div align="left">书名</div>
</td>
<td valign="top" width="257">
<div align="left">编号</div>
</td>
<td width="328" valign="top">
<p align="left">修改</p>
</td>
</tr>
<%getmethod_input=1%>
<%
while not rsOrder.BOF and not rsOrder.EOF
%><Form Action="updatebook.asp" Method="post">
<tr>
<td height="19">
<td rowspan="2" valign="top">
<input type="text" name=getmethod_input size="50" value="<% =rsOrder("strID") %>">
</td>
<td rowspan="2" valign="top">
<% Response.Write "<input type=submit name=cmdUpdateOrder value=""修改"">"
%>
</td>
<tr>
<td height="30" valign="top"> <%=rsorder("strChineseName")%> </td>
</tr>
</from>
<%
rsOrder.MoveNext
wend
%>
</table>
</td>
</tr>
</table>
<%
end if
rsOrder.Close
Set rsOrder=Nothing
end sub
%>
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<% OrderList %>
</body>
</html>
下一页
<%
dim pidef
pidef=Request("getmethod_input")
response.write pidef
%>
html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
略......
......
</body>
</html>
书名 编号 修改
111 book-10-20-210 submit
222 book-10-20-211 submit
.... ............. ......
点击submit的时候传递相对编号的值,而我写的程序在传递参数getmethod_input 时候出现
book-10-20-210 book-10-20-21...........说明我的参数传递错误,不知道那里出现了错误,怎么解决,没有有更简便的方法实现这个!小第在此先谢谢大家了
查询数目文件如下
<!-- #include file="../db/database_connection.asp" -->
<%
'Check the Session("strID")
Sub OrderList()
'Exact the order list
Dim rsOrder 'as New ADODB.Recordset
Set rsOrder=Server.CreateObject("ADODB.Recordset")
Dim strSql 'as String
strSql="select * from tbl_book "
rsOrder.Open strSql,m_con,3,3
if rsOrder.RecordCount>0 then
%>
<table width="1015" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="973" height="54"></td>
<td width="42"></td>
</tr>
<tr>
<td valign="top" height="82">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="22" width="388" valign="top">
<div align="left">书名</div>
</td>
<td valign="top" width="257">
<div align="left">编号</div>
</td>
<td width="328" valign="top">
<p align="left">修改</p>
</td>
</tr>
<%getmethod_input=1%>
<%
while not rsOrder.BOF and not rsOrder.EOF
%><Form Action="updatebook.asp" Method="post">
<tr>
<td height="19">
<td rowspan="2" valign="top">
<input type="text" name=getmethod_input size="50" value="<% =rsOrder("strID") %>">
</td>
<td rowspan="2" valign="top">
<% Response.Write "<input type=submit name=cmdUpdateOrder value=""修改"">"
%>
</td>
<tr>
<td height="30" valign="top"> <%=rsorder("strChineseName")%> </td>
</tr>
</from>
<%
rsOrder.MoveNext
wend
%>
</table>
</td>
</tr>
</table>
<%
end if
rsOrder.Close
Set rsOrder=Nothing
end sub
%>
<html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<% OrderList %>
</body>
</html>
下一页
<%
dim pidef
pidef=Request("getmethod_input")
response.write pidef
%>
html>
<head>
<title>无标题文档</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" text="#000000">
略......
......
</body>
</html>
...全文
相关推荐
c + + 计 时 器 急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急
c + + 计 时 器 急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急急 急 急
急急急平面波matlab仿真中如何用颜色表示声压级的大小-Doc1.doc
急急急平面波matlab仿真中如何用颜色表示声压级的大小-Doc1.doc 原程序是: f=125; c0=344; k=2*f*pi./c0; r=0:0.001:0.5; p=exp; P=abs; plot; xlabel'); ylabel'); 不知程序对不对 请问怎么在平面波matlab仿真中如何用颜色表示声压级的大小,能不能帮忙把程序完整的表示出来
请教高手关于EXCEL行列转换的问题!谢谢!急急急!!!
一般的方法行不通,可能要用到宏或者编一个程序,请帮忙!
这是sdk调用源文件,急急急急急急
这是sdk调用源文件,急急急急急急
雕刻机c程序
雕刻机如果我i拉噶过来公积金急急急 os发挥哦 位粉丝如果是人体


