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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. is there other ways to get data out from excel using ASP.NET

is there other ways to get data out from excel using ASP.NET

Scheduled Pinned Locked Moved ASP.NET
helpcsharpasp-netdatabasequestion
5 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
    bang2711
    wrote on last edited by
    #1

    hi guy,. i have some problem here. i want to get my data out as a string or using sql but i cannot find any source of it. i dont wan to use datagrid. is there other way.? i need to use a Response.Write(content) to write the data out.. please help me asap.. _________________ regards bang

    G 1 Reply Last reply
    0
    • B bang2711

      hi guy,. i have some problem here. i want to get my data out as a string or using sql but i cannot find any source of it. i dont wan to use datagrid. is there other way.? i need to use a Response.Write(content) to write the data out.. please help me asap.. _________________ regards bang

      G Offline
      G Offline
      god_bless_the_world
      wrote on last edited by
      #2

      Save the Excel sheet as a CSV(Comma seperated value). You can then parse the csv file and manipulate the contents and display it. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

      B 1 Reply Last reply
      0
      • G god_bless_the_world

        Save the Excel sheet as a CSV(Comma seperated value). You can then parse the csv file and manipulate the contents and display it. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

        B Offline
        B Offline
        bang2711
        wrote on last edited by
        #3

        u mean i can change using asp.net coding to CSV? cos after i can get the data out from the excel i later still need to change the data from excel. and how to manipulate the contents and display it. sorry i new to asp.net.. thanks and regards bang

        G 1 Reply Last reply
        0
        • B bang2711

          u mean i can change using asp.net coding to CSV? cos after i can get the data out from the excel i later still need to change the data from excel. and how to manipulate the contents and display it. sorry i new to asp.net.. thanks and regards bang

          G Offline
          G Offline
          god_bless_the_world
          wrote on last edited by
          #4

          You should save the .xls file as a .csv file. Then give the .csv file as the input to your program. You can parse the .csv file like the way you parse a text file. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

          B 1 Reply Last reply
          0
          • G god_bless_the_world

            You should save the .xls file as a .csv file. Then give the .csv file as the input to your program. You can parse the .csv file like the way you parse a text file. In faith there is enough light for those who want to believe and enough shadows to blind those who don't. - Blaise Pascal

            B Offline
            B Offline
            bang2711
            wrote on last edited by
            #5

            MM.. but if later part i hav to update my excel.. will it affect the coding or CSV file? do u hav any small sample to see.?

            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