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. How to display Excel file on IE

How to display Excel file on IE

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelptutorial
3 Posts 3 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.
  • V Offline
    V Offline
    varshavmane
    wrote on last edited by
    #1

    Hello All, I am working on ASP.NET 2008 (C#) and I have to display data in ExcelSheet on IE. I have some data and thro which I create Excel file in code behind. This excel file has some formulas also. Now I need to show this Excel file on IE and if any changes made then all the related Formulas must be fired and updated file should be display. Can someone help me .... Thanks in advance...

    A A 2 Replies Last reply
    0
    • V varshavmane

      Hello All, I am working on ASP.NET 2008 (C#) and I have to display data in ExcelSheet on IE. I have some data and thro which I create Excel file in code behind. This excel file has some formulas also. Now I need to show this Excel file on IE and if any changes made then all the related Formulas must be fired and updated file should be display. Can someone help me .... Thanks in advance...

      A Offline
      A Offline
      Ariel Kazeed
      wrote on last edited by
      #2

      You're not talking about prompting the user to either open or download the file the typical web way are you? Because if you are not then you'll want to make a web version of excel... pretty much like spreadsheets on Google Docs... And I bet that is complicated and took *some* time. Anyhow, I guess you'd have manually render a table, link it to a stylesheet for coloring and such, then attach events or javascript [I'd personally go for AJAX] to cells which contain formulas on the excel file, etc. Now, processes for reading from/writing to Excel files will vary depending on whether your excel file is 97-2003 version or an OOXML one...

      Kazz


      "Users are there to click on things, not think. Let the archs do the damn thinking."

      1 Reply Last reply
      0
      • V varshavmane

        Hello All, I am working on ASP.NET 2008 (C#) and I have to display data in ExcelSheet on IE. I have some data and thro which I create Excel file in code behind. This excel file has some formulas also. Now I need to show this Excel file on IE and if any changes made then all the related Formulas must be fired and updated file should be display. Can someone help me .... Thanks in advance...

        A Offline
        A Offline
        Arindam Tewary
        wrote on last edited by
        #3

        IE have its in-build mechanism for opening an excel file.You no need to worry about how to open it. Only give proper path in browser. User gets option for "Open" or "Save". If user opts for save that excel file is saved to user's system and if users opts for "open" the its opened into browser automatically!!!

        Thanks, Arindam D Tewary

        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