Issue C# Listview from text file !!

Hello Everyone!

I want to know if a person is how filling a listview with a text file ?
my text file and compound first name ; last name ; age
with ';' as separator

Many thanks in advance for your assistance, and I am looking forward to hearing from you .

1 réponse

  • Votes
  • Date
  • Date décroissante
  1. Hello

    Thank you to consider the fact that this forum is French.
    There's many English forum:
    stackoverflow.com
    social mdsn
    etc.

    Anyway, to read your text file with ";" separator you can find samples with french descriptions here
    https://codes-sources.commentcamarche.net/source/s/c-net-13/parseur-csv/last

    Then you can use binding to fill your list view, sample here
    https://codes-sources.commentcamarche.net/faq/1291-utilisation-du-binding-au-travers-de-l-objet-databindingsource also in french.