• Reading a .csv file and parsing (.net express)

    Home » Forums » Developers, developers, developers » DevOps Lounge » Reading a .csv file and parsing (.net express)

    Author
    Topic
    #449362

    was wondering if anyone has experience with reading a text file (csv format) and displaying the values of each section , , seperately to a textbox. If so please share a way to do this? I currently have a
    .csv file that is updated real time over the net. I would like to read the data seperatley into textbox’s I have bumped in to some discussions about streamreader and was wondering if anyone has experience do this. thank you

    Viewing 1 reply thread
    Author
    Replies
    • #1101568

      I don’t use .Net but in the old days, the ADO object model was a convenient way to read a .csv file as a table (ODBC Text Driver). There might be other new ways to parse them that are equally or more convenient.

    • #1102085

      Have you tried creating and using a streamreader? It is designed for that kind of thing. You can create a data grid and populate it from the streamreader. It isn’t clear from your message whether you want to “display” this in a form or a report.

    Viewing 1 reply thread
    Reply To: Reading a .csv file and parsing (.net express)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: