Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Export to excel sheet wise

Export to excel sheet wise

Scheduled Pinned Locked Moved ASP.NET
xmlhtmldatabasehelp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sharath07
    wrote on last edited by
    #1

    Hey people, Could somebody sujest a way to export a set of web pages to excel - a page a sheet. For single page exports i use the ContentType specifications. But im not able to export multiple pages. All pages come into a single sheet. I tried using Excel object, but as far as i could explore, it lets me to enter values to each cell which is almost impossible to do for a web page which contains data spread across many tables and tds (Un Structured). Moreover it consumes lots of time for execution. I also tried using OWCs 9.0 and 11.0, but msdn advises not to use it also it demands licensed office versions in client systems, that i cant guarantee. At last i tried to generate an XML document from the Response (HTML) string, to a XL schema valid xml. But converting tds with attributes to , really blows me off. Also child Tables are pieces i cant able to find a solution. Could somebody sujest a way for this problem.

    V 1 Reply Last reply
    0
    • S sharath07

      Hey people, Could somebody sujest a way to export a set of web pages to excel - a page a sheet. For single page exports i use the ContentType specifications. But im not able to export multiple pages. All pages come into a single sheet. I tried using Excel object, but as far as i could explore, it lets me to enter values to each cell which is almost impossible to do for a web page which contains data spread across many tables and tds (Un Structured). Moreover it consumes lots of time for execution. I also tried using OWCs 9.0 and 11.0, but msdn advises not to use it also it demands licensed office versions in client systems, that i cant guarantee. At last i tried to generate an XML document from the Response (HTML) string, to a XL schema valid xml. But converting tds with attributes to , really blows me off. Also child Tables are pieces i cant able to find a solution. Could somebody sujest a way for this problem.

      V Offline
      V Offline
      VenkataRamana Gali
      wrote on last edited by
      #2

      Hi, this will help you http://www.dotnet247.com/247reference/msgs/26/132455.aspx[^]

      regards GV Ramana

      S 1 Reply Last reply
      0
      • V VenkataRamana Gali

        Hi, this will help you http://www.dotnet247.com/247reference/msgs/26/132455.aspx[^]

        regards GV Ramana

        S Offline
        S Offline
        sharath07
        wrote on last edited by
        #3

        hi ramana, Thnx, for ur help, but if u go through my post, u can see i have already done this ContentType method, but the problem is it will come as a single sheet, what i need is that each of the page i select should come in different excel sheet, Please see if you could do anything in this regard.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups