謝謝斑竹能否幫個忙!! (改個小程式)
這是個頁面顯示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
%>
<%
謝謝!!!!!!!!!!!!!!!!!!!!
相關文章
- offer 比較,人生十字路口大家幫幫忙 謝謝
- 《程式人生》一個月了,我要謝謝,你、你、還有你
- 請問這個報錯該怎麼解決,謝謝
- 謝謝,一年
- 資料分析常用的 23 個 Pandas 程式碼,收好不謝
- 二十年,感謝每一個你
- 妹子幫個忙!嫁給程式設計師好嗎?程式設計師
- 謝謝你寫黑文!幫我們推廣這麼棒的兔基社群
- 基於騰訊 x5 的引擎開發的混合 app,appim 切換 webview 時報錯。哪位大佬幫忙看看,有償解決。謝謝~APPWebView
- 謝謝你,龍應臺女士
- 感謝你給我推薦這個websiteWeb
- 謝謝《瞭望智庫》的鼓勵
- 關於 Appium 中 ios 自動化測試的幾個問題,請教下大神,謝謝APPiOS
- 《謝謝你遲到》學習筆記筆記
- [提問交流]後臺安裝好外掛,前臺如何呼叫,感謝幫忙,祝大家2015年快樂
- 致謝信
- 誰有Oracle Support Identifier帳號,幫我下載一個漏洞補丁,萬分感謝。。膜拜。。OracleIDE
- 企業OA升級遇阻?小程式容器來幫忙
- 零門檻打造個人圖床:感謝Telegraph-Image圖床
- 成為專業人士的3個步驟,拿走不謝!
- Pytest 指令碼打包成 exe 後,無法呼叫 testcase,無法獲取到 fixture,希望大佬幫忙給以指點,多謝!指令碼
- Uint8Array 我TM謝謝你不報錯哦UI
- selenium 跑自動化時,能否用 mitmproxy 監聽到後臺介面?或者有沒有其他更好的方法獲得響應?謝謝~~MIT
- 小謝第58問:nuxt搭建企業官網UX
- 求助大佬幫忙找一個想不起名字的功能
- 感謝武漢肺炎
- 為什麼說,整個SaaS行業都應該感謝“寒冬”?行業
- 求助一套仿百度網盤的原始碼 謝謝原始碼
- 收集所有能夠使用 for in 來遍歷的語言,謝謝各位大佬
- 《細胞·代謝》:高糖高脂食物,直接改寫大腦回路!
- [提問交流]求助,後臺跳轉至前臺,如何實現,謝謝
- 學習三個月,快樂小四年——感謝風變程式設計Python課程!程式設計Python
- Hadoop架構已凋謝?!Hadoop架構
- 感激與感謝 @ 煎魚
- 小謝第8問:ui框架的css樣式如何更改UI框架CSS
- 使用者登入前臺之後,無法退出如何解決?謝謝
- [提問交流]下面這段程式碼中沒帶註釋的那3行是什麼意思呢?謝謝!!!
- 區塊鏈專案開發—感謝中本聰!也感謝祖克伯!區塊鏈
- Python抽象基類:ABC謝謝你,因為有你,溫暖了四季!Python抽象