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. Send XML Excel file in one stream

Send XML Excel file in one stream

Scheduled Pinned Locked Moved ASP.NET
questionsysadminxmlperformance
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.
  • B Offline
    B Offline
    Braulio Dez
    wrote on last edited by
    #1

    Hi, I'm creating an XML excel file in one stream / string in memory, how can I send that to the client telling the browser that is an Excel file ? ( without having to save it into the server hard disk as an XLS file). Thanks in advance, greetings Braulio

    A 1 Reply Last reply
    0
    • B Braulio Dez

      Hi, I'm creating an XML excel file in one stream / string in memory, how can I send that to the client telling the browser that is an Excel file ? ( without having to save it into the server hard disk as an XLS file). Thanks in advance, greetings Braulio

      A Offline
      A Offline
      Angel Reyes
      wrote on last edited by
      #2
      1. Set the Response.ContentType value with the appropriate value (probably "application/vnd.ms- excel") 2) Write your stream to the Response.OutputStream I hope that helps.
      B 1 Reply Last reply
      0
      • A Angel Reyes
        1. Set the Response.ContentType value with the appropriate value (probably "application/vnd.ms- excel") 2) Write your stream to the Response.OutputStream I hope that helps.
        B Offline
        B Offline
        Braulio Dez
        wrote on last edited by
        #3

        Thanks a lot ! That's what I was looking for, I will give a try when I arrive home.

        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