[求助]hidden 参数传递失效
高手,我作一查询系统,进行翻页时需要传递参数,用hidden 传递失效,不知是哪里出问题了,高手帮忙看看。。。急等!dim strsql,strxuewei,strhigh1,strhigh2,strhigh3,strhigh4,strhigh5,strhigh6,strtext1,strtext2,strtext3
IF request.Form("txtxuewei")="" then
strxuewei=Request.querystring("txtxuewei")
else
strxuewei=Request.form("txtxuewei")
end if
IF request.Form("txthigh1")="" then
strhigh1=Request.querystring("txthigh1")
else
strhigh1=Request.form("txthigh1")
end if
IF request.Form("text1")="" then
strtext1=Request.querystring("text1")
else
strtext1=Request.form("text1")
end if
IF request.Form("txthigh2")="" then
strhigh2=Request.querystring("txthigh2")
else
strhigh2=Request.form("txthigh2")
end if
IF request.Form("txthigh3")="" then
strhigh3=Request.querystring("txthigh3")
else
strhigh3=Request.form("txthigh3")
end if
IF request.Form("text2")="" then
strtext2=Request.querystring("text2")
else
strtext2=Request.form("text2")
end if
IF request.Form("txthigh4")="" then
strhigh4=Request.querystring("txthigh4")
else
strhigh4=Request.form("txthigh4")
end if
IF request.Form("text3")="" then
strtext3=Request.querystring("text3")
else
strtext3=Request.form("text3")
end if
IF request.Form("txthigh5")="" then
strhigh5=Request.querystring("txthigh5")
else
strhigh5=Request.form("txthigh5")
end if
.........
<form name=form2 method="get" action="hsearch.asp">
<tr>
<td width="88" height="33" rowspan="4"> </td>
<td width="626" height="33">
<INPUT TYPE="HIDDEN" NAME="pageno" VALUE="PageNo">
<INPUT TYPE="HIDDEN" NAME="txtxuewei" VALUE="<%=strxuewei%>">
<INPUT TYPE="HIDDEN" NAME="txthigh1" VALUE="<%=strhigh1%>">
<INPUT TYPE="HIDDEN" NAME="txthigh2" VALUE="<%=strhigh2%>">
<INPUT TYPE="HIDDEN" NAME="txthigh3" VALUE="<%=strhigh3%>">
<INPUT TYPE="HIDDEN" NAME="txthigh4" VALUE="<%=strhigh4%>">
<INPUT TYPE="HIDDEN" NAME="txthigh5" VALUE="<%=strhigh5%>">
<INPUT TYPE="HIDDEN" NAME="text2" VALUE="<%=strtext2%>">
<INPUT TYPE="HIDDEN" NAME="text3" VALUE="<%=strtext3%>">
<INPUT TYPE="HIDDEN" NAME="text1" VALUE="<%=strtext1%>">
<% if pageNo<>"1" then %>
<a href="hsearch.asp?pageNo=1">首页</a>
<a href="hsearch.asp?pageNo=<%=cint(pageNo)-"1"%>">上一页</a>
<% end if
if pageNo<>Total then%>
<a href="hsearch.asp?pageNo=<%=cint(pageNo)+"1"%>">下一页</a>
<a href="hsearch.asp?pageNo=<%=cint(Total)%>">尾页</a>
<% end if %>
<input type="text" name="turnpage" size="2">/<%=cint(Total)%> <input type="submit" name="submit2" value="转页">
<%
End if
%>
</form>