摘要: //由dataset导出Excel public void CreateExcel(DataSet ds,string typeid,string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312"); resp.AppendHeader("Content-Disposition", "attachment;filename=" + FileName); 阅读全文
posted @ 2011-02-13 10:32 小锋神 阅读(1374) 评论(1) 推荐(0) 编辑