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. CSV files in C#

CSV files in C#

Scheduled Pinned Locked Moved C#
csharp
4 Posts 4 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.
  • I Offline
    I Offline
    i gr8
    wrote on last edited by
    #1

    i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this

    S Y P 3 Replies Last reply
    0
    • I i gr8

      i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this

      S Offline
      S Offline
      SeMartens
      wrote on last edited by
      #2

      Hi, what do you mean by "read that csv in Notepad using C#"? Maybe you could post the piece of code doing this? Regards Sebastian

      It's not a bug, it's a feature! Check out my CodeProject article Permission-by-aspect. Me in Softwareland.

      1 Reply Last reply
      0
      • I i gr8

        i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this

        Y Offline
        Y Offline
        yujianchi
        wrote on last edited by
        #3

        Hi, according to the output, i think, the standard seperator in your system should be ',' not ';'.

        1 Reply Last reply
        0
        • I i gr8

          i have created a CSV file with following format "Test1";"Test2";"Test3" when i tried to read that csv in Notepad using C#.net i am getiing with following format """Test1"";""Test2"";""Test3""" is there any way to resolve this

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          If you are looking at the value in the debugger, you will see that sort of thing(though usually with backslashes (\)), but it's just the display format, nothing to worry about. How did you create file? How are you reading it?

          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