QUESTION POSED ON: 18 January 2005
I need to generate classes (for example, "employee") and collection classes (Employees collection of the employee class) in VB.NET as I could do in VB6. I should be able to use "for each" on the collection classes (for each employee in employees)
I could do this by using the sorted list collection, but the data is always sorted by the key (in this case I used employee ID.)
I tried using the hashtable but it didn't work.
Could you please let me know how to sort the data in the sorted list in a different manner? Or perhaps you know how to implement the same using a hashtable?
|