<select name="select" onChange="MM_jumpMenu('parent',this,0)">
<% For i = 1 to PCount %>
<option value="?PageNo=<%= i %>&btnSltArea1=<%= Area %>&Key=<%= Key %>&KeyClass=<%= KeyClass %>" <% If i = PageNo Then Response.write "Selected"%>><%=i%></option>
<% Next %>
</select>
...全文
1487打赏收藏
请问asp分页函数如何分成1,2,3,4,5。。。之关的样式
这是目前的代码,生成的分页是一个下拉式选择分页,我想做成1,2,3,4,5....这种风格的,请问代码该怎么写了? <option value="?PageNo=&btnSltArea1=&Key=&KeyClass=" <% If
<% For i = 1 to PCount %>
<a href="?PageNo=<%= i %>&btnSltArea1=<%= Area %>&Key=<%= Key %>&KeyClass=<%= KeyClass %>"
<% If i = PageNo Then Response.write "Selected"%>>
<%=i%>
</a>
<% Next %>