<%@ page language="java" import="java.util.*" pageEncoding="gb2312"%> <%@page import="util.Info"%> <%@page import="dao.CommDAO"%> <%@page import="util.PageManager"%> <% response.setContentType("application/vnd.ms-excel"); response.addHeader("Content-Disposition", "attachment;filename=chongzhixinxi.xls"); %> 充值信息

已有充值信息列表:

<% String url = "chongzhixinxi_list.jsp?1=1"; String sql = "select * from chongzhixinxi where 1=1"; sql+=" order by id desc"; ArrayList list = PageManager.getPages(url,15,sql, request); int i=0; for(HashMap map:list){ i++; %> <% } %>
序号 用户名 姓名 日期 充值金额 添加时间
<%=i %> <%=map.get("yonghuming") %> <%=map.get("xingming") %> <%=map.get("riqi") %> <%=map.get("chongzhijine") %> <%=map.get("addtime") %>

以上数据共<%=i %>条