日期:2014-05-17  浏览次数:20881 次

asp study.asp?page=2&s_type=<%=rs("s_type")%> 问题??
<table   width= "550 "   border= "0 "   align= "center "   cellpadding= "5 "   cellspacing= "0 "     >
    <tr>  
        <%if   rs.pagecount   >   0   then%>
        <td   width= "13% "   align= "left "> 当前页 <%=intpage%> / <%=rs.PageCount%> </td>
        <%else%>
        <td   width= "41% "   align= "left "> 当前页0/0 </td>
        <%end   if%>
        <td   width= "46% "   align= "right ">   <a   href= "study-1.asp?page=1&s_type= <%=rs( "s_type ")%> "> 首页 </a> |  
            <%if   pre   then%>
            <a   href= "study-1.asp?page= <%=intpage   -1%> &s_type= <%=rs( "s_type ")%> "> 上页 </a> |  
            <%end   if%>
            <%if   last   then%>
            <a   href= "study-1.asp?page= <%=intpage   +1%> &s_type= <%=rs( "s_type ")%> "> 下页 </a>   |
            <%end   if%>
            <a   href= "study-1.asp?page= <%=rs.PageCount%> &s_type= <%=rs( "s_type ")%> "> 尾页 </a> |转到第  
            <select   name= "sel_page "   onChange= "javascript:location=this.options[this.selectedIndex].value; ">
                <%
              for   i   =   1   to   rs.PageCount
              if   i   =   intpage   then%>
                <option   value= "study-1.asp?page= <%=i%> &s_type= <%=rs( "s_type ")%> "   selected> <%=i%> </option>
                <%else%>
                <option   value= "study-1.asp?page= <%=i%> &s_type= <%=rs( "s_type ")%> "> <%=i%> </option>
                <%
                    end   if
                next
                %>
            </select>
            页   </td>
    </tr>
</table>


在第2页中为什么不能读取 <%=rs( "s_type ")%>     ???

------解决方案--------------------
这样如何:
<a href= "study-1.asp?page= <%=intpage +1%> &s_type= <%=request( "s_type ")%&