摘要: Rp_GridList.AllowPaging = false;//因为GridView是分页的 开始要取消分页 Rp_GridList.DataBind();//重新绑定 GridViewToExcel(Rp_GridList, "ms-excel/msword", "商家缴费明细.xls"); Rp_GridList.AllowPaging = true;//导出之后重新开启分页 Rp_GridList.DataBind();///数字太长会变成科学计算法 在OnRowDataBound里面改样式 protected void gvUsers_Row 阅读全文
posted @ 2013-04-27 15:26 liuliu_刘刘 阅读(136) 评论(0) 推荐(0) 编辑