2011年12月23日
摘要: 下面导出excel主要解决repeater产生乱码的问题public void CreateExcels(DataSet ds, string typeid, string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312"); resp.AppendHeader("Content-Disposition", "attachment;filename=" 阅读全文
posted @ 2011-12-23 10:21 青玄 阅读(958) 评论(0) 推荐(0) 编辑