B
Bob
I have a name-value pair type of data that I need to search against. It's
to determine what menu item to highlight given the asp.net page name. So
the list has all my page names (unique) and the corresponding menu IDs.
Some pages have the same menu IDs. One every page load, I want to check the
name, and get the menu ID so the menu can be displayed with the proper items
highlighted. The list various from a couple of dozen entries to a couple of
hundreds of entries depending on the number of pages an app has.
It's pretty easy to implement with either a HashTable, DataTable,
Dictionary, or XmlDocument. Since it's something every page load would hit,
every bit of performance counts. Thanks a lot for any suggestions.
Bob
to determine what menu item to highlight given the asp.net page name. So
the list has all my page names (unique) and the corresponding menu IDs.
Some pages have the same menu IDs. One every page load, I want to check the
name, and get the menu ID so the menu can be displayed with the proper items
highlighted. The list various from a couple of dozen entries to a couple of
hundreds of entries depending on the number of pages an app has.
It's pretty easy to implement with either a HashTable, DataTable,
Dictionary, or XmlDocument. Since it's something every page load would hit,
every bit of performance counts. Thanks a lot for any suggestions.
Bob