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文件了。
顶一下
相关问答:
<%On Error Resume Next
Set conn=Server.CreateObject("ADODB.Connection")
conn.begintrans
conn.Open ("Driver={SQL Server};server=(local);uid=sa;database=student;pwd=")
......
<%if request.QueryString("start") <>"" then%>
<%if cint(start)>0 then%>
<a href="search.asp?q= <%=q%>&start= <%if request.Query ......
我原本是学jsp的可找了一个ASP的公司!我要重新学习! 学习ASP! 希望大家推荐一本好书给我谢谢
<ASP3.0高级编程> 网上有电子版的
发现网上asp信息时最多的 比其他的都多好多
yun
找本有应用事例的A ......
function mistake(preString)
Dim texts
Dim seed
Dim i,length
prestring = trim(preString)
......
我在asp页面做了一个从1开始往上累加的东西,为什么每次点击按钮时数值都不往上加。
不知道什么原因,请教高手!
看看你的代码啊
int a=0;
a++;
txtBox.text=a.toString();
......