摘要: int intPageSize; //每页显示的记录数int intRowCount; //记录总数int intPageCount; //总页数计算总页数公式:intPageCount = (intRowCount+intPageSize-1) / intPageSize 阅读全文
posted @ 2020-07-15 18:56 野狼谷 阅读(1144) 评论(0) 推荐(0)
摘要: MySql默认是不支持这种骚操作的,但是并不代表不能实现,只需要在jdbc的配置文件中稍做配置: driver=com.mysql.jdbc.Driverurl=jdbc:mysql://127.0.0.1:3306/airipo?useUnicode=true&characterEncoding= 阅读全文
posted @ 2020-07-15 15:24 野狼谷 阅读(1799) 评论(0) 推荐(0)