Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting key from collection
Message
From
22/03/2011 11:32:52
 
 
To
22/03/2011 11:24:43
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01504426
Message ID:
01504510
Views:
39
>I would probably use a Dictionary, it would be much faster. However I'm not certain what the other entries in your array are being used for, so I'm not sure how I'd structure the Dictionary (you're using an array, not a collection, BTW).

The array is what I store in each collection entry. The collection is defined as:
        Private oTable As Collection = New Collection
I understand I could have adjusted the design here to use something else. But, I tried to use what I already have and found a solution to get the key.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform