Greetings to all
Please i have a listview displaying files in a particular directory
e.g c:\test so i want the user to be able to sort it based on date modified.

1. The list view have to column The file name and the date modified

How can i sort by date modified


Please its urgent. All clue is welcomed

Thanks in advance

Its kind of a real pain in the butt to sort a listview besides its typical sort property that is provided. You need to define some functions in able to sort specific columns. An example can be found at this link on MSDN

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.