易截截图软件、单文件、免安装、纯绿色、仅160KB

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文件了。

顶一下


相关问答:

asp DateDiff 语法错误,大家帮忙看看

conn.execute("delete from online where DateDiff("&SqlChar&"s"&SqlChar&",lasttime,"&SqlNowString&")>"&OnlineTime&" " ......

asp跨服务器 cookies 问题

A服务器(www.XXX.com)

Response.Cookies("aa") = "bbbbbbb"
Response.Cookies("aa").domain = "XXX.com"

B服务器(www1.XXX.com)
Response.Write Reque ......

asp中如何单击某按钮后继续执行下一段代码

我的意思是asp中如何单击某按钮 就继续执行下一段代码

在网页里,先执行一段代码,遇到单击某按钮时就,继续往下执行后面的代码~


asp是服务器端代码,是由请求触发的。
要么就分成2个asp文件, ......

我想问下,在asp中这段函数什么意思

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 ......

[高分求助]帮忙转下代码(ASP(VBSCRIPT) TO C#)谢谢~!

function mistake(preString)
      Dim texts
      Dim seed
      Dim i,length
      prestring = trim(preString)
    ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号