Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Lookup Tables to populate combo boxes in web application

Avatar of tis9700
tis9700 asked on
Microsoft SQL ServerWeb Applications
6 Comments1 Solution335 ViewsLast Modified:
Good morning,

I'm developing a web application (ASP.NET 3.5, Visual Studio 2008, VB 2008). I plan to design and implement Custom Business Object, a Data Access Layer and Business Logic Layer and use the objectdatasource control  and bind it to a grid view.

But first I'm designing the database in SQL Server 2008. I have my data tables about 90% designed and I'm designing the lookup tables. And I just want to make sure I'm approaching this correctly or if their is a better approach.

It looks as though I have a many to many relationship between two of my lookup tables, ActivityDetailType and LocationType. Normally, I would use a junction table called ActivityLocationType but this is my first attempt at web developement and I need these values to be populated in the combo boxes as mentioned earlier. (See attachment)

The user will select the Activity (ActivityDetailType) from the first combo box. Based on their selection I would like to filter the next combo box with the values they can choose (LocationType) based on their previous selection.

Is this approach appropriate or should I be doing something completely different?

FYI - I'm pretty much new to everything! And the ActivityType Table is for output (Report) purposes.

Thanks

 ActivityReportDatabaseDiagram.pdf
ASKER CERTIFIED SOLUTION
Avatar of Bernie Bsen
Bernie BsenFlag of Germany imageChef de cuisine

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 6 Comments.
See Answers