G
Guadala Harry
I'd like recommendations for which collection to use to store name/value
pairs. What I'm doing is retrieving a simple name/value pair list from the
database via stored procedure that returns the pairs in a specific order
(and never more than 25 name/value pairs). In the application, I need to be
able to store the name/value pairs and subsequently retrieve/enumerate them
*in the order returned by the stored procedure*. A SortedList obviously
won't work because it sorts automatically on the key value... Hashtable has
its own sorting going on. So, what can I use?
Thanks!
pairs. What I'm doing is retrieving a simple name/value pair list from the
database via stored procedure that returns the pairs in a specific order
(and never more than 25 name/value pairs). In the application, I need to be
able to store the name/value pairs and subsequently retrieve/enumerate them
*in the order returned by the stored procedure*. A SortedList obviously
won't work because it sorts automatically on the key value... Hashtable has
its own sorting going on. So, what can I use?
Thanks!