首页 开发技术 C#     /    ASP+模板生成Word、Excel灵活多变的办法

ASP+模板生成Word、Excel灵活多变的办法

上传者: HmilyHeart | 上传时间:2019/7/7 12:57:57 | 文件大小:21KB | 文件类型:rar
ASP+模板生成Word、Excel灵活多变的办法
由于工作的需要,我需要为客户做一个在线生成Excel及Word报表程序,参考了网上很多办法,大多数都是采用Excel.Application(http://www.blueidea.com/tech/program/2006/3547.asp)组件来生成,发现容易出错,而且对于大多数和我一样的菜鸟来说,比较麻烦,考虑到前些天用ASP+模板+adodb.stream生成静态页面的办法,经过多次尝试,终于掌握了一种用ASP+模板生成Excel和word的新的办法,先分享如下:用模板生成Excel、Word最大优点:Word、Excel文档样式易于控制和调整,以往用Excel.Application来生成Excel、Word,需要写很多代码来控制排版的样式,用模版几乎不受任何限制,只需要打开word或Excel,编辑文档,选择"文件->另存为web页",即可方便的做好模板,用office生成的模板要比直接在DW中做好模板愈加符合office偏好,生成后文件样式可与原word、Excel格式99%一样,因此建议大家用office(office97~office2003)直接来生成模板框架。

文件下载

资源详情

[{"title":"(15个子文件21KB)ASP+模板生成Word、Excel灵活多变的办法","children":[{"title":"aspCreate","children":[{"title":"create_excel.asp <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"create_word.asp <span style='color:#111;'>1.49KB</span>","children":null,"spread":false},{"title":"index.htm <span style='color:#111;'>956B</span>","children":null,"spread":false},{"title":"function.asp <span style='color:#111;'>4.68KB</span>","children":null,"spread":false},{"title":"files","children":[{"title":"word","children":[{"title":"Doc1.doc <span style='color:#111;'>18.74KB</span>","children":null,"spread":false},{"title":"2.doc <span style='color:#111;'>18.74KB</span>","children":null,"spread":false}],"spread":true},{"title":"html","children":[{"title":"Untitled-1.htm <span style='color:#111;'>701B</span>","children":null,"spread":false},{"title":"1.htm <span style='color:#111;'>702B</span>","children":null,"spread":false}],"spread":true},{"title":"excel","children":[{"title":"Book1.xls <span style='color:#111;'>8.55KB</span>","children":null,"spread":false},{"title":"3.xls <span style='color:#111;'>8.55KB</span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"frame.htm <span style='color:#111;'>312B</span>","children":null,"spread":false},{"title":"template","children":[{"title":"template_word.htm <span style='color:#111;'>18.74KB</span>","children":null,"spread":false},{"title":"template_excel.htm <span style='color:#111;'>8.53KB</span>","children":null,"spread":false},{"title":"template_html.htm <span style='color:#111;'>697B</span>","children":null,"spread":false}],"spread":true},{"title":"create_htm.asp <span style='color:#111;'>1.57KB</span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • fungbenfai:
    我下载了,但是没有用.我使用了模板的方法解决,2016-05-18
  • kelela8:
    这个资源确实是有了,但不知道如何使用,怎么编辑呢?添加也不能?2014-10-10
  • my1200:
    东西不错,不过不是我想要的,还是谢谢了2014-09-22
  • moyan5013:
    不是太有用,不过还是给分了2014-07-01
  • gengshunrong:
    挺好的用到了2014-06-13

免责申明

【好快吧下载】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【好快吧下载】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【好快吧下载】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,8686821#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明