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. CSV files

CSV files

Scheduled Pinned Locked Moved ASP.NET
help
3 Posts 3 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
    dotnetmember
    wrote on last edited by
    #1

    Hi experts, In my application, I do export data from datatable to csv file and import data from csv file. My problem is since csv file uses comma(,) as delimiter it splits text data with comma as two columns. Ur suggestions r highly appreciated.

    R A 2 Replies Last reply
    0
    • D dotnetmember

      Hi experts, In my application, I do export data from datatable to csv file and import data from csv file. My problem is since csv file uses comma(,) as delimiter it splits text data with comma as two columns. Ur suggestions r highly appreciated.

      R Offline
      R Offline
      r a m e s h
      wrote on last edited by
      #2

      As you said, when you export/import data from the application, comma is specified as delimiter by default. Why don't you change the delimiter to some other charaters like ~ or # for export/import functionality?

      1 Reply Last reply
      0
      • D dotnetmember

        Hi experts, In my application, I do export data from datatable to csv file and import data from csv file. My problem is since csv file uses comma(,) as delimiter it splits text data with comma as two columns. Ur suggestions r highly appreciated.

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        Put string with comma in Quotations... "this, is , a , test",data Just like this. :thumbsup::thumbsup:

        Abhishek Sur


        My Latest Articles **Create CLR objects in SQL Server 2005 C# Uncommon Keywords Read/Write Excel using OleDB

        **Don't forget to click "Good Answer" if you like to.

        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