asp导出
利用asp来导出文件到excel,不需要office组件,如何做?谢谢!能提供个参考的网址。。
http://www.mscto.com/aspnet/2009021435632.html
楼上的,我不需要用owc,达到导出到excel的功能,并且能通过代码来自定义导出的样式的。
在文件头部添加
<%response.ContentType ="application/vnd.ms-excel"%>
<% Response.AddHeader "Content-Disposition", "attachment; filename=文件名"%>
引用
在文件头部添加
<%response.ContentType ="application/vnd.ms-excel"%>
<% Response.AddHeader "Content-Disposition", "attachment; filename=文件名"%>
就达不到可以及定制自己样式的excel文件了。
顶一下
相关问答:
最近我通过学习,感觉自己学的还可以了,想做一网站,但是一直都找不到题材,不知道做什么,希望各位给我点意见,如果有需求文档就更好了!希望大家给我点意见,谢谢!
先做个企业网站吧,我感觉一个人做网站不适宜 ......
conn.execute("delete from online where DateDiff("&SqlChar&"s"&SqlChar&",lasttime,"&SqlNowString&")>"&OnlineTime&" " ......
问个问题,我的一个网站能上传文件,我把网站目录考到同一台电脑的另一个目录下,然后在复制过来的目录上新建了一个网站,程序文件没动(相关路径的设置已经改了,不是路径问题),但是新网站不能上传文件,我网上查了 ......
Function listPages(LinkFile)
if not (rs.eof and rs.bof) then
gopage=currentpage
totalpage=n
blockPage=Int((gopage-1)/10)*10+1
If LCase(Request.ServerVariables("HT ......
function mistake(preString)
Dim texts
Dim seed
Dim i,length
prestring = trim(preString)
......