Solved

help needed with a lookup table of some sort

Posted on 2006-11-15
1
204 Views
Last Modified: 2010-04-23
Hi

I am making a menu in asp.net but the area i need help on is a vb.net issue

I have a menu with 5 tabs. Each tab has a selected and unselected state. Each menu items refers to multiple web pages. For exxample, the menu item My Account is selected when the user is on various pages such as "Edit details", "show my details" and so

I want to create a look up table for the tabs and the webpages they correspond to. Specifically, i will get the name of the webpage the user is looking at. I will look this name up in some sort of look up table (advice need on what to use please). The look up table will return me the name of the tab. I will then set the image for this tab to be the selected image.

What kind of vb.net look up feature will let me store multiple values indexed by a string key?

thanks
andrea
0
Comment
Question by:andieje
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 500 total points
ID: 17947682
You can create the following generic type:

Dictionary(Of String, List Of AnyOtherType)

This type allows to keep list of any types (like Tab pages) for string key.

You can use also Wintellect Power Collections library which contains MultiDictionary class.  Wintellect Power Collections is free and can be downloaded from here:
http://www.wintellect.com/PowerCollections.aspx

I guess it is written in C#, but can be used in any .NET language.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now