Exporting whole page content to Excel Sheet


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Exporting whole page content to Excel Sheet

  1. #1
    Join Date
    Jul 2007
    Posts
    14

    Exporting whole page content to Excel Sheet

    Hi all,
    I'm trying to export all the contents of my page ( there are two Gridviews and two tables displaying in my page). How to export all this in a single Excel sheet?

    Can anybody send me the coding(c#) for this problem.

    Thanks in advance

    Regards Althaf.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    Here's how to export a single DataGrid to Excel: http://support.microsoft.com/kb/317719 . To do this, I think you'll have to create another page that has all the data in a single grid.

    The other option is to programatically generate an Excel file on the server. See if these help:

    http://www.google.com/search?q=asp.net+automate+excel
    http://www.google.com/search?q=asp.n...ate+excel+file
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 12
    Last Post: 03-09-2010, 10:51 AM
  2. Replies: 0
    Last Post: 08-30-2007, 04:51 PM
  3. Copy Web Page into Excel Doc
    By boomstick425 in forum .NET
    Replies: 0
    Last Post: 08-25-2005, 11:36 AM
  4. Exporting an ADO recordset to an Excel sheet
    By David K in forum VB Classic
    Replies: 1
    Last Post: 08-16-2000, 11:50 AM
  5. Replies: 1
    Last Post: 04-06-2000, 06:20 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center