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.