Question about custom C# extensions and File I/O
I am currently building a custom c# extension in Visual Studio for Spotfire. What I would like to be able to accomplish is to have Spotfire take a filepath to a folder and then open each file inside, store each file in a seperate data table, and then create a scatter plot for each data table. I already have a custom tool in the Tools drop down and have a Dialog Box I made using Winforms in Visual Studio. All of the prompts are set up and the only thing that I am lacking is the ability to import more than one file at a time. I have to manually input the filepath for each file in the Folder to import the files into spotfire. Does anyone know how I might be able to input the path to the folder and have it go through and open each file?
Any help would be greatly appreciated.
Thank you for your time,