Generate Excel File Using ASP

Discussion in 'ASP General' started by LBT, Mar 29, 2005.

  1. LBT

    LBT Guest

    Hi experts,

    With response.contenttype = "application/vnd.ms-excel", I can easily export
    my data to Excel which is embeded and shown within a browser.

    If I'm going to save the Excel file through ASP programming, which method
    can I use? I need to save the data to Excel file with dynamic name (the file
    name should contain key values and appended with system datetime).

    Thanks a lot
     
    LBT, Mar 29, 2005
    #1
    1. Advertising

  2. "LBT" <> wrote in message
    news:...
    > Hi experts,
    >
    > With response.contenttype = "application/vnd.ms-excel", I can easily

    export
    > my data to Excel which is embeded and shown within a browser.
    >
    > If I'm going to save the Excel file through ASP programming, which method
    > can I use? I need to save the data to Excel file with dynamic name (the

    file
    > name should contain key values and appended with system datetime).


    Use this method, but add some variables in the filename as appropriate:
    http://www.aspfaq.com/show.asp?id=2129

    --
    Tom Kaminski IIS MVP
    http://www.microsoft.com/windowsserver2003/community/centers/iis/
    http://mvp.support.microsoft.com/
    http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
     
    Tom Kaminski [MVP], Mar 29, 2005
    #2
    1. Advertising

  3. LBT

    Bullschmidt Guest

    Bullschmidt, Mar 31, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Luis Esteban Valencia
    Replies:
    1
    Views:
    1,404
    Carl Prothman [MVP]
    Jan 12, 2005
  2. Replies:
    1
    Views:
    1,805
    extentechjohn
    Nov 21, 2006
  3. pps!
    Replies:
    0
    Views:
    1,044
  4. =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=

    Problem with Excel reports ::::Excel 2003 Migration To Excel 2007

    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=, Oct 5, 2007, in forum: ASP .Net
    Replies:
    15
    Views:
    1,548
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
  5. Jeremy

    using asp to generate excel = bad stuff

    Jeremy, Jul 31, 2003, in forum: ASP General
    Replies:
    2
    Views:
    141
    Jeremy
    Aug 4, 2003
Loading...

Share This Page