Export report Directly to Excel

Last post 05-11-2008 1:26 PM by kamii47. 3 replies.

Sort Posts:

  • Export report Directly to Excel

    05-11-2008, 8:08 AM

    Is it Possible to export directly to Excel on some condition, showing some message to the user.

    Any Suggestion please.
     

  • Re: Export report Directly to Excel

    05-11-2008, 8:52 AM
    • Loading...
    • kamii47
    • Joined on 05-26-2005, 12:04 PM
    • Karachi, Pakistan
    • Posts 1,244
    What do u want's to export ?
    Kamran Shahid(MCSD.NET)
    Sr. Software Engineer
    Netprosys Inc.
    www.netprosys.com
    Microsoft Gold Certified Partner


    Please remember to click "Mark as Answer" on the post that helps you
  • Re: Export report Directly to Excel

    05-11-2008, 12:35 PM
    My query is Supposed number of records I am going to shown in reports is more than say 500 then I don't want to show the out put in Report ,But directly export to Excel showing some message to the user.
  • Re: Export report Directly to Excel

    05-11-2008, 1:26 PM
    Answer
    • Loading...
    • kamii47
    • Joined on 05-26-2005, 12:04 PM
    • Karachi, Pakistan
    • Posts 1,244

    Then u can get your data in data table then follow the technique in

    http://mattberseth.com/blog/2007/04/export_gridview_to_excel_1.html 

    Kamran Shahid(MCSD.NET)
    Sr. Software Engineer
    Netprosys Inc.
    www.netprosys.com
    Microsoft Gold Certified Partner


    Please remember to click "Mark as Answer" on the post that helps you
Page 1 of 1 (4 items)