How is the order of values in a hashtable determined?
I add them in this order...
Hashtable hsh = new Hashtable();
hsh.Add("@Product", "0");
hsh.Add("@Description", "1");
hsh.Add("@Price", "2");
hsh.Add("@ProductID", "3");
But when I view the hashtable in the debugger it appears like this.
I think this might be causing a problem for me.
I need them to be in the same order as I add them.
+ ["@Product"] "0"
+ ["@ProductID"] "3"
+ ["@Description"] "1"
+ ["@Price"] "2"
Start Free Trial