摘要: 1、由dataset生成 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); stri 阅读全文
posted @ 2011-04-01 17:03 鲨鱼^_^ 阅读(148) 评论(0) 推荐(0) 编辑