I am trying to figure out what type of structure or container I should use for a quick project. I need to have an unknown number of sets that will be entered from the GUI (each one will have a name, description, unique ID, priority, and boolean for included). Each set will have an unknown number of strings added to it (also from the GUI). After all of the information has been entered, it will be written out to text files where the name of the set is the name of the folder and one text file in that folder will contain all of the strings associated with that set.
I tried creating a dataset with two related tables, but I couldn't seem to programmatically add the rows to the tables and get the sets to display in my datagridview. Now I'm back to trying to find another way to save the sets in memory and display them on the GUI before saving them to disk.
What would you use?