Answers
Jan 22, 2007 - 10:02 AM
I could now start writing a sample etc. but I must admit, others have already done this. Although I do not like to answer questions with a simple link to a web page, I recommend to look at these two articels:
http://aspnet.4guysfromrolla.com/arti...
and
http://aspnet.4guysfromrolla.com/arti...
This artcle explains exactly how it is done. It provides a way to sort a FileInfo array using all different properties of a fileinfo object.
Let me know if this helped you
Cheers
Peter
Jan 27, 2007 - 03:14 AM
string[] files = Directory.GetFiles(filePath);
Array.Sort(files);
You get the points, nevertheless...
Add New Comment