Read and Write CSV File in VB.NET

You may also like...

5 Responses

  1. David says:

    If you wanted to call a row from the CSV into the text boxes, based on entering customer number. How would this be done?
    For instance, search for customer number 1, it would populate the text boxes so you can edit/overwrite.

    • Admin says:

      Hi David,
      It’s simple… Currently in this article we are returning the datatable to display all records in Grid. You can use same logic for your query.
      1) Read CSV file and get in form of datatable.
      2) Filter row of datatable according to your input.
      3) Load data of row into textboxes.

      If anything then let us know.

  2. Nathan Daniels says:

    Line 42; ‘End Function’ should have ‘End’ before it

  3. Kfir Oaknin says:

    Hello There is a possibility to change the code to ANSI instead of encoding UTF8
    I want to open the CSV file in Excel
    And receive the content in Hebrew

Leave a Reply to Admin Cancel reply

Your email address will not be published. Required fields are marked *

× 4 = sixteen

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">