• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 505
  • Last Modified:

How do I populate an asp.net menu with submenu items from a database table?

Hi all:
I need to populate a menu control item (it has to work in all browsers) from 2 database tables.

1) I have a collections(jobs) table that links to a photo table (below)
2) I have a photo table (photo table has a foreign key from collections table)
3) the menu control should look as follows:

    portfolio of work >>
                                    job #1          
                                    job #2
                                    job #3
                                    job #4
4) ex. job #1 will have a menu item with a link to a particular collection and in that collection, there are muliple pictures for a particular collection that some code will loop thru.

5) I could like the link to the page to be created dynamically so if I add another collection(job), I don't have to hand code any new links to new jobs.

SO...to sum up. I just need the portfolio of work menu item to slide out with a list of jobs(collections) linking to a bunch of photos for that collection(job).

Also, it has to work in all browsers.

I am using asp.net VB.
  • 2
1 Solution
bolenkaAuthor Commented:
hey thanks kgenius...I will take a look and let you know. you guys are great.
bolenkaAuthor Commented:
great examples thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now