B
Bishop
I have a treeview in my master page. It's built off a sql table that looks
like this:
TreeID, Name, ParentID
1,shoes,0
2,boots,0
3,slippers,0
4,shoe laces, 1
5, shoe soles, 1
6, boot laces, 2
7, slipper ears, 3
8, slipper ears blue, 7
To populate I do a number of small sql queries. The data is dynamic but
typically will change no more than once a day.
I'm looking for suggestions on how I can cache the treeview so it only runs
the queries a few times a day instead of each time the page loads.
like this:
TreeID, Name, ParentID
1,shoes,0
2,boots,0
3,slippers,0
4,shoe laces, 1
5, shoe soles, 1
6, boot laces, 2
7, slipper ears, 3
8, slipper ears blue, 7
To populate I do a number of small sql queries. The data is dynamic but
typically will change no more than once a day.
I'm looking for suggestions on how I can cache the treeview so it only runs
the queries a few times a day instead of each time the page loads.