Hi, this is going to be a very broad question and any info or suggestions are welcome!
I am writing an application which uses a Mon-Sunday approach with times slots from 9.30am till 7.30pm. These time slots can be filled in with data (a single string). Currently this data is saved to an string array (fixed size, each position in the array is a time). I then save this via XML Serialization and de-serialize ir when loading the program.
The problem is.. I want this program to enter data for any day/date, currently it only supports the current day and the next 6 days. (Monday-Tue-Wed-Thu-Fri-Sat-Sun) string arrays..
What would be the best way to approach this problem? I was thinking of using the selected dtaes string as a filename (i.e. 16/02/2010) (16022010) and saving the information inside this file. The same would be done with any other date which has data entered via the UI. The only issue here is the clutter it would create, although I guess I could handle the file deletion also...
However, what would people's vies be on this? any better methods? I am not saying my method's are great at all, just what I can come up with :)