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. General Programming
  3. C#
  4. Write an Array to Excel

Write an Array to Excel

Scheduled Pinned Locked Moved C#
data-structurestutorial
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.
  • D Offline
    D Offline
    DJ245
    wrote on last edited by
    #1

    could any one please tell how to export an array to an Excel file in web application. Actually my requiremnt id to export data(array) from flex to excel. If I get the method for writing array to excel, i think i can very well meet my requirment. please reply

    N 1 Reply Last reply
    0
    • D DJ245

      could any one please tell how to export an array to an Excel file in web application. Actually my requiremnt id to export data(array) from flex to excel. If I get the method for writing array to excel, i think i can very well meet my requirment. please reply

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Loop through your array and write each row to excel.

      Navaneeth How to use google | Ask smart questions

      D 1 Reply Last reply
      0
      • N N a v a n e e t h

        Loop through your array and write each row to excel.

        Navaneeth How to use google | Ask smart questions

        D Offline
        D Offline
        DJ245
        wrote on last edited by
        #3

        Can u give me an example? I want to write the array to excel ( get it saved in excel) not just using Response like given below //Response.ContentType = "application/vnd.xls"; //System.IO.StringWriter stringWrite = new System.IO.StringWriter(); //System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); //stringWrite.Write("hai"); //Response.Write(stringWrite.ToString()); Regards, KP

        modified on Tuesday, November 11, 2008 5:39 AM

        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