摘要:
要全部展示数据,所以导出时要先将翻页取消,重新绑定数据:gridview的allowpaging属性设置为false,然后databind()一下添加方法: public override void VerifyRenderingInServerForm(Control control){} private void ToExcel(Control ctl, string FileName) { HttpContext.Current.Response.Charset = "UTF-8"; HttpContext.Current.Response.Cont... 阅读全文
posted @ 2013-07-12 11:20
D.Henry
阅读(3431)
评论(0)
推荐(0)