謝謝斑竹能否幫個忙!! (改個小程式)
這是個頁面顯示7條留言的留言本我想讓他僅僅顯示3條,可否幫幫改一下!!非常謝謝!!
' set the record count
Recordset1_total = Recordset1.RecordCount
' set the number of rows displayed on this page
If (Recordset1_numRows < 0) Then
Recordset1_numRows = Recordset1_total
Elseif (Recordset1_numRows = 0) Then
Recordset1_numRows = 1
End If
' set the first and last displayed record
Recordset1_first = 1
Recordset1_last = Recordset1_first + Recordset1_numRows - 1
' if we have the correct record count, check the other stats
If (Recordset1_total <> -1) Then
If (Recordset1_first > Recordset1_total) Then Recordset1_first = Recordset1_total
If (Recordset1_last > Recordset1_total) Then Recordset1_last = Recordset1_total
If (Recordset1_numRows > Recordset1_total) Then Recordset1_numRows = Recordset1_total
End If
%>
<%
謝謝!!!!!!!!!!!!!!!!!!!!
' set the record count
Recordset1_total = Recordset1.RecordCount
' set the number of rows displayed on this page
If (Recordset1_numRows < 0) Then
Recordset1_numRows = Recordset1_total
Elseif (Recordset1_numRows = 0) Then
Recordset1_numRows = 1
End If
' set the first and last displayed record
Recordset1_first = 1
Recordset1_last = Recordset1_first + Recordset1_numRows - 1
' if we have the correct record count, check the other stats
If (Recordset1_total <> -1) Then
If (Recordset1_first > Recordset1_total) Then Recordset1_first = Recordset1_total
If (Recordset1_last > Recordset1_total) Then Recordset1_last = Recordset1_total
If (Recordset1_numRows > Recordset1_total) Then Recordset1_numRows = Recordset1_total
End If
%>
<%
謝謝!!!!!!!!!!!!!!!!!!!!
相關文章
- 一個關於mysql方面的問題,希望斑竹和大家能幫忙,謝謝!!MySql
- benq大哥,幫忙,請進入,謝謝!ENQ
- jive配置中的database問題?!請幫忙阿謝謝!Database
- 幫忙看看如何設定,跪謝!
- 請教關於jive原始碼,請各位高手幫忙 ,謝謝!!!原始碼
- 請求幫助!謝謝!
- 有關javaAPI,請各位高手幫忙,拜謝JavaAPI
- 請大家幫忙,關於儲存過程分頁的問題...謝謝儲存過程
- 關於資料庫的問題。請幫忙看下,在下先謝謝了資料庫
- Vsftpd匿名無法上傳,配置如下,幫忙找下原因,謝謝~!(轉)FTP
- 高手幫忙解決兩道JAVA題,跪謝!!Java
- 謝謝各位高手給個意見
- Jdon版jive安裝過程中,mysql資料庫連線出錯!(請幫幫忙,謝謝!)MySql資料庫
- 做交叉編譯時候的一點問題,麻煩有這方面經驗的人幫個忙,謝謝了啊(轉)編譯
- 《程式人生》一個月了,我要謝謝,你、你、還有你
- 請幫我看看呼叫webservice的問題謝謝!Web
- jboss 下 部署 多個應用程式的資源問題,急,謝謝!!
- 安裝是遇到錯誤,大家幫我看看,謝謝
- 請問這個報錯該怎麼解決,謝謝
- jboss3安裝有問題多謝幫忙看一下S3
- jms的問題,請高手幫忙解決一下,先謝了
- 來幫我看看這個簡單的遠端客戶端呼叫EJB出錯的例子,謝謝了客戶端
- 此介面的實現物件是哪個?高手指點,謝謝!物件
- 關於領域驅動設計與開發過程中的一些疑惑請道友幫忙解惑,謝謝。
- 求一個sql。多謝各位SQL
- 請高手幫忙分析一個JSP小程式的問題JS
- 一個對檔案內容定位分析修改的問題,謝謝!
- Oracle在UNIX上實施的新書就要面市,還請大家幫忙看看,書名怎麼定合適?謝謝大家!Oracle新書
- 是不是jive和oracle不能搭配?知道的請回個文,謝謝了!!Oracle
- 向各位徵詢一下對這個專案的意見,謝謝!
- 請問如何用多執行緒實現一個輪詢功能?謝謝!執行緒
- 感謝banq將埠改為80
- activemq的問題,謝謝MQ
- 板橋及各位高手,幫我看看遠端呼叫這個難題,非常感謝。
- 資料分析常用的 23 個 Pandas 程式碼,收好不謝
- 關於單點登陸(SSO)的開源專案CAS的一個問題, 用過yale大學CAS的幫幫忙吧,先謝啦,哈哈
- 請問java行集如何理解,哪裡有較詳細的幫助?謝謝Java
- 各位高手來幫我看看sql的問題吧,謝謝啦,線上等答案啊SQL