摘要: 下面代码把datagrid生成了word文档,并在ie显示//生成HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename=RoadRepair.doc"); /?" Response.ContentType = "application/vnd.ms-word" ;//指定生成文件的... 阅读全文
posted @ 2008-03-21 09:36 zhangsir 阅读(350) 评论(0) 推荐(0) 编辑