dHeather
Active member
- Joined
- Jun 18, 2012
- Messages
- 27
- Programming Experience
- Beginner
Hello,
I have a static set of 163 files on a disc. These files fall into rough groups (11 in total). I need to display a single group in a ListView based on a users selection. There is overlap between the groups though so rather than seperating the files into folders on the disk and storing repeat files I would rather store them in a single folder and select the relevant files for any particular group.
So what I'm looking to create is a table that stores the file name and which of the 11 groups they are relevant to. This could be predefined if this is more efficient than creating it in runtime.
What I want to know is am I better off creating a static file that my program reads or am I better creating it in runtime, and in either instance which is the best solution? there seems to be all sorts of ways of storing data (Arrays, Dictionaries, Lists, ArrayLists and so on) and although I can find huge amounts of info on how to use each item I can find very little on what the best solution is for predefined data.
If someone can point me in the right direction that would be great.
Thanks
I have a static set of 163 files on a disc. These files fall into rough groups (11 in total). I need to display a single group in a ListView based on a users selection. There is overlap between the groups though so rather than seperating the files into folders on the disk and storing repeat files I would rather store them in a single folder and select the relevant files for any particular group.
So what I'm looking to create is a table that stores the file name and which of the 11 groups they are relevant to. This could be predefined if this is more efficient than creating it in runtime.
What I want to know is am I better off creating a static file that my program reads or am I better creating it in runtime, and in either instance which is the best solution? there seems to be all sorts of ways of storing data (Arrays, Dictionaries, Lists, ArrayLists and so on) and although I can find huge amounts of info on how to use each item I can find very little on what the best solution is for predefined data.
If someone can point me in the right direction that would be great.
Thanks