Export to Excel

Discussion in 'ASP General' started by Jason, Sep 21, 2005.

  1. Jason

    Jason Guest

    Can anyone point me to some sample code or tutorial that shows how I can
    export data from a database to an Excel spreadsheet that is already created
    on the server?

    I have an Excel spreadsheet that contains a number of labeled cells and
    sheets. When someone clicks the "Export to Excel" button on my asp page, I
    want to export the required data from my sql database to the Excel
    spreadsheet (putting the data in the appropriate cells and sheets).

    Thanks.
     
    Jason, Sep 21, 2005
    #1
    1. Advertisements

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

    Export data from grid to Excel

    Deva, Jan 13, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    2,451
  2. Cowboy \(Gregory A. Beamer\)

    Export datagrid(with allowsorting) to Excel

    Cowboy \(Gregory A. Beamer\), Jun 25, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    750
  3. =?Utf-8?B?RGF2aWQgVmFsbGU=?=

    Invalid export DLL or export format

    =?Utf-8?B?RGF2aWQgVmFsbGU=?=, Oct 29, 2003, in forum: ASP .Net
    Replies:
    0
    Views:
    3,843
    =?Utf-8?B?RGF2aWQgVmFsbGU=?=
    Oct 29, 2003
  4. =?Utf-8?B?U3JpZGhhcg==?=

    using Microsoft Excel image for Export to Excel button

    =?Utf-8?B?U3JpZGhhcg==?=, Dec 9, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    3,401
    =?Utf-8?B?U3JpZGhhcg==?=
    Dec 9, 2005
  5. =?Utf-8?B?SGVtYW50IFNpcGFoaW1hbGFuaQ==?=

    Export to Excel (Default File Type - Excel)

    =?Utf-8?B?SGVtYW50IFNpcGFoaW1hbGFuaQ==?=, Apr 24, 2006, in forum: ASP .Net
    Replies:
    15
    Views:
    18,285
    syed hassan
    May 21, 2009
  6. =?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,981
    =?Utf-8?B?c2hhc2hhbmsga3Vsa2Fybmk=?=
    Oct 24, 2007
  7. Grey
    Replies:
    4
    Views:
    2,530
    Mark Rae [MVP]
    Oct 17, 2007
  8. Maarten Porters
    Replies:
    1
    Views:
    594
    Florian Gilcher
    Jul 28, 2008
Loading...