您现在的位置是:网站首页> 编程资料编程资料
asp生成带有样式的word文件方法_应用技巧_
2023-05-25
179人已围观
简介 asp生成带有样式的word文件方法_应用技巧_
复制代码 代码如下:
< %
Set fso=Server.CreateObject("Scripting.FileSystemObject")
str="
filename= "2008.doc"
Set act = fso.CreateTextFile(server.mappath(filename), true)
act.WriteLine(str)
act.close
Set fso=Nothing
response.write "生成Word文件成功"
% >
