读书人

oracle的分页,该如何处理

发布时间: 2013-06-19 10:26:41 作者: rapoo

oracle的分页
各位我在后台拼接了一张表,想对他实现分页,不知道有什么好的方法?oracle的分页,该如何处理这个是拼接的。 Oracle 分页
[解决办法]
直接网上搞个分页框架 然后应用就行了
[解决办法]
在后台直接拼也是可以的
str.append("<table class=\"page_turn_table\"><tr>");
str.append("<td class=\"page_turn_txt01\">");
str.append("每页[10]条 共[<span id=\"countList\">"+countList+"</span>]条 " +
" 共 <span id=\"pageCount\">" + pageCount + "</span> 页");
str.append("<a id=\"firstPage\" href=\"#\" onclick=\"firstPage('" + scriptName + "');\">" + firstImgFilePath + "</a> ");
str.append("<a id=\"frontPage\" href=\"#\" onclick=\"frontPage('" + scriptName + "');\">" + prevImgFilePath + "</a> ");
str.append("<a id=\"nextPage\" href=\"#\" onclick=\"nextPage('" + scriptName + "');\">" + nextImgFilePath + "</a> ");
str.append("<a id=\"endPage\" href=\"#\" onclick=\"endPage('" + scriptName + "');\">" + lastImgFilePath + "</a>");
str.append("到第<input type='text' class='page_turn_textbox' id='pageTurn' value='1'>页");
str.append("<input type=\"button\" name=\"submit\" id=\"goPage\" value=\"go\" class=\"button_out\" " +"onMouseOver=
"onclick=\"goP('" + scriptName + "');\" />" +
"<input type='hidden' class='page_turn_textbox' id='pageTurnHidden' value='1'>");
str.append("</td></tr></table>");

读书人网 >oracle

热点推荐