Jump to content

create a data list and filter C#


joecool2005

Recommended Posts

You're going to want to learn about the System.IO namespace:http://msdn2.microsoft.com/en-us/library/system.io.aspxThe DirectoryInfo class is helpful for getting a list of filenames into a string array:

DirectoryInfo directory = new DirectoryInfo(@"C:\MyFiles");string[] filenames = new string[0];if(directory.Exists){	filenames = directory.GetFiles();}

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...