Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

help needed with a lookup table of some sort

Posted on 2006-11-15
1
Medium Priority
?
235 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 48

Accepted Solution

by:
AlexFM earned 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses

596 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