I have the following code which I try to call when my datagrid is in Edit Mode:
Function GetWPActEvmethod() As Hashtable
Dim myHT As New Hashtable
myHT.Add("Direct Units", "Direct Units")
myHT.Add("Assigned Percent Complete", "Assigned Percent Complete")
myHT.Add("Weighted Milestones", "Weighted Milestones")
myHT.Add("Milestone / Schedule Percent Complete", "Milestone / Schedule Percent Complete")
myHT.Add("Apportioned", "Apportioned")
myHT.Add("Level Of Effort", "Level Of Effort")
Return myHT
End Function
I don't really want an ordered list b/c my first item in the collection should be Direct Units, and I don't want to have to place a number in front of each item just to make them ordered. I tried this hashtable code, but with NULLs in the db, I guess you can't use hashtables, nor are they index by 0,1,2,3, etc. I tried a simplelist() with the two namespaces System.collections and System imported for my page, but intellisense doesn't pick it up.
Any ideas?
Thanks!
Function GetWPActEvmethod() As Hashtable
Dim myHT As New Hashtable
myHT.Add("Direct Units", "Direct Units")
myHT.Add("Assigned Percent Complete", "Assigned Percent Complete")
myHT.Add("Weighted Milestones", "Weighted Milestones")
myHT.Add("Milestone / Schedule Percent Complete", "Milestone / Schedule Percent Complete")
myHT.Add("Apportioned", "Apportioned")
myHT.Add("Level Of Effort", "Level Of Effort")
Return myHT
End Function
I don't really want an ordered list b/c my first item in the collection should be Direct Units, and I don't want to have to place a number in front of each item just to make them ordered. I tried this hashtable code, but with NULLs in the db, I guess you can't use hashtables, nor are they index by 0,1,2,3, etc. I tried a simplelist() with the two namespaces System.collections and System imported for my page, but intellisense doesn't pick it up.
Any ideas?
Thanks!