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. LumenWorks.Framework.IO.Csv (CSV Reader)

LumenWorks.Framework.IO.Csv (CSV Reader)

Scheduled Pinned Locked Moved C#
helpquestion
2 Posts 1 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.
  • S Offline
    S Offline
    saku69
    wrote on last edited by
    #1

    Hello everybody. I hope some of you can help me with this problem with CSV Reader. I have a text file contains

    "USER\FIRSTNAME";"DOMAINNAME"
    "User1";"USER\Admin"

    I am using LumenWorks.Framework.IO.Csv (CSV Reader) to "read" my text file, but I got the output wrong. The CSV reader removes the \ from my text file. the output is like this

    USERFIRSTNAME;DOMAINNAME
    User1;USERAdmin

    where it should be

    USER\FIRSTNAME;DOMAINNAME
    User1;USER\Admin

    If i remove the double qoute from my text file, then I get the right output. Has any of you run in to this issue, or could any one explains to me how I can fix this issue?? Any advice will be grateful. Many thanks in advance!!

    S 1 Reply Last reply
    0
    • S saku69

      Hello everybody. I hope some of you can help me with this problem with CSV Reader. I have a text file contains

      "USER\FIRSTNAME";"DOMAINNAME"
      "User1";"USER\Admin"

      I am using LumenWorks.Framework.IO.Csv (CSV Reader) to "read" my text file, but I got the output wrong. The CSV reader removes the \ from my text file. the output is like this

      USERFIRSTNAME;DOMAINNAME
      User1;USERAdmin

      where it should be

      USER\FIRSTNAME;DOMAINNAME
      User1;USER\Admin

      If i remove the double qoute from my text file, then I get the right output. Has any of you run in to this issue, or could any one explains to me how I can fix this issue?? Any advice will be grateful. Many thanks in advance!!

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

      Hey again, I found a solution for my problem. It to have " and ' in CSVReader class, then it works

      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