so I got a bunch of files here in one directory.
They are all named like this:
- Daniel-2013-09-10.jpg
- Peter-2012-05-06.jpg
- Christiane-2011-01-08.jpg
So I got all of these items in one directory and put them into one array:
string[] pictures = Directory.GetFiles(@"C:/Pictures", "*.jpg");
I got a ListView with 3 columns, Name, Date and File size.
I want to get all these information from the file names and then put them into the listview. So for those three files it would look like this:
Name--------------Date---------------------------File size
Daniel-------------10. September 2013--------26 KB
Peter--------------06. May 2012-----------------39 KB
Christiane--------08. January 2011------------35 KB
So I thought of splitting the information in the array with foreach and then using another loop to write the data in the the ListView, but I don't know exactly how to do that.
Any help is appreciated ^^
Cheers
