Dim PageArray AS New HashTable()
PageArray.Add("Home Page",BaseURL)
PageArray.Add("Education",BaseURL & "/1")
PageArray.Add("Store",BaseURL & "/2")
RepeaterLinks.DataSource=PageArray
Page.DataBind()
I am using this code to fill a hashtable and then bind it to a repeater. The only problem that I have is the inability to control the order in which the items display. I want to have them display in the same order that I have put them into the hash. Is this possible, or am I being unreasonable?
PageArray.Add("Home Page",BaseURL)
PageArray.Add("Education",BaseURL & "/1")
PageArray.Add("Store",BaseURL & "/2")
RepeaterLinks.DataSource=PageArray
Page.DataBind()
I am using this code to fill a hashtable and then bind it to a repeater. The only problem that I have is the inability to control the order in which the items display. I want to have them display in the same order that I have put them into the hash. Is this possible, or am I being unreasonable?