I have a ttreeview that is populated from a database. Once the treeview is populated, I can save it's contents to a file and in future load the treeview contents from that file (as long as the database hasn't been updated in the meantime) as it is faster than redrawing the tree from the database every time.
What I want to do is implement some form of safeguard that will load the treeview from file rather than drawing it from the database, as long as the database's contents havent changed since the last time the program ran.
Anyone got any ideas on possible approaches to this problem?
Thanks
What I want to do is implement some form of safeguard that will load the treeview from file rather than drawing it from the database, as long as the database's contents havent changed since the last time the program ran.
Anyone got any ideas on possible approaches to this problem?
Thanks