Export datalist or gridview to Excel

Discussion in 'ASP .Net' started by staeri@gmail.com, Mar 7, 2006.

  1. Guest

    I have a lot pages with either a datalist or a gridview and I would
    like to provide print functionality to the users so that the current
    page is exported to Excel when the user clicks the Print button.

    Since I'm a big fan of reuse I don't want to create a separate print
    version of each page since it's too much work to do and to maintain.

    Is there a easier way of doing this?

    Regards,

    S
    , Mar 7, 2006
    #1
    1. Advertising

  2. http://www.mycodekb.com/CodeDetails.asp?CodeID=454
    --
    Paul Zanbaka
    Sharepoint Adminstrator and DBA
    www.mycodekb.com


    "" wrote:

    > I have a lot pages with either a datalist or a gridview and I would
    > like to provide print functionality to the users so that the current
    > page is exported to Excel when the user clicks the Print button.
    >
    > Since I'm a big fan of reuse I don't want to create a separate print
    > version of each page since it's too much work to do and to maintain.
    >
    > Is there a easier way of doing this?
    >
    > Regards,
    >
    > S
    >
    >
    =?Utf-8?B?UGF1bCBaYW5iYWth?=, Mar 7, 2006
    #2
    1. Advertising

  3. Jacob Guest

    Take a look at the CarlosAG ExcelXMLWriter. Nice control to help you
    write your workbooks.
    Jacob, Mar 7, 2006
    #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. Nevyn Twyll
    Replies:
    8
    Views:
    1,848
  2. =?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,083
    =?Utf-8?B?U3JpZGhhcg==?=
    Dec 9, 2005
  3. Replies:
    3
    Views:
    11,372
    Patrick.O.Ige
    May 24, 2006
  4. =?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:
    17,473
    syed hassan
    May 21, 2009
  5. H5N1
    Replies:
    0
    Views:
    2,700
Loading...

Share This Page