Java實現MySQL分頁查詢

1、在Dao類中寫兩種方法:得到總頁數和指定頁的數據html 得到總頁數java public int getPageCount(int pageSize) throws Exception{ try { conn=DBConnection.getConnection(); String sql="select count(*) fr
相關文章
相關標籤/搜索