How am i able to display '.mdf' extensions or all database file extensions and it's size on a listview from a selected drive such as 'C:' or 'D:' in C# ? ..
Asked
Active
Viewed 54 times
2 Answers
0
Please take a look at this MSDN article - http://msdn.microsoft.com/en-us/library/bb513869.aspx It will help you in traversing through directories and files.
This article will give you details about displaying ListView from a list of items. How to display List items in Listview?
Find out appropriate APIs for you, and report if you get stuck anywhere. Somebody will be able to help you with your specific problem.

Community
- 1
- 1

ArunGeorge
- 495
- 5
- 11
0
Most efficient way to find all XYZ files on disk using C#?
Then to get the filesize just use the FileInfo
class. For more file info you can GetSpecificFileProperties.

Community
- 1
- 1

Jeremy Thompson
- 61,933
- 36
- 195
- 321