DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  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, 09:51 AM
  2. Replies: 0
    Last Post: 08-30-2007, 03:51 PM
  3. Copy Web Page into Excel Doc
    By boomstick425 in forum .NET
    Replies: 0
    Last Post: 08-25-2005, 10: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, 10:50 AM
  5. Replies: 1
    Last Post: 04-06-2000, 05:20 AM

Bookmarks

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


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links