How to read data from file to show in ListVie?
Dear all,
I am a new programmer with C#.net. I can read the data from file to show in ListView, but it doesn't order.
My ListView is
ID Name Gender Address
Then I want the data from the file to show in each record as below:
ID Name Gender Address
001 Phanny F Cambodia
My result that I can do is
ID Name Gender Address
001PhannyFCambodia
The result is only in column ID.
My code is
textLine = objReader.ReadLine();
lis.SubItems.Add(textLine);
listView1.Items.Add(lis);
Please help me.
Thank you so much.