日期:2014-05-17  浏览次数:20982 次

如何生成doc文件
就是生成一个doc文件下载到客户端

我知道txt文件是
Response.ContentType   =   "txt/html "      
Response.addheader   "Content-Disposition ",   "attachment;Filename=Results.txt "

------解决方案--------------------
Response.ContentType = "application/msword "

关键是内容呢?已经在数据库了?
------解决方案--------------------
不明白?生成的word没有格式的?纯文本?
------解决方案--------------------
http://blog.programfan.com/article.asp?id=24954
这里有一个,不知道是不是你想要的