Java实现MySQL分页查询

1、在Dao类中写两种方法:得到总页数和指定页的数据html 得到总页数java public int getPageCount(int pageSize) throws Exception{ try { conn=DBConnection.getConnection(); String sql="select count(*) fr
相关文章
相关标签/搜索