AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Master/Detail Part 2: Filtering With Two DropDownLists : Scott Mitchell

Friday, July 25 2008

In the previous tutorial we examined how to display a simple master/details report using a single DropDownList populated with the categories and a GridView showing those products that belong to the selected category. This report pattern works well when displaying records that have a one-to-many relationship and can easily be extended to work for scenarios that include multiple one-to-many relationships. For example, an order entry system would have tables that correspond to customers, orders, and order line items. A given customer may have multiple orders with each order consisting of multiple items. Such data can be presented to the user with two DropDownLists and a GridView. The first DropDownList would have a list item for each customer in the database with the second one's contents being the orders placed by the selected customer. A GridView would list the line items from the selected order....

Read More:
Master/Detail Part 2: Filtering With Two DropDownLists : Scott Mitchell
Also See:
Flat File Data Reader :
Get the Microsoft SQL Server 2008 Feature Pack CTP (February 2008) : Microsoft
Understanding Script Injection Attacks : Sanjit Sil
Changing GridView Column Color : AzamSharp
ObjectDataSource in Depth (Part 1) : Manuel Abadia

Post your comment

Comment