- 0
- 0
- 约 29页
- 2016-08-31 发布于辽宁
- 举报
外文翻译 英文文献 使用两个dropdownlist过滤的主从报表 本科毕业论文(设计)
Master/Detail Filtering With Two DropDownLists
Introduction
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 ones contents being the orders placed by the selected customer. A GridView would list the line items from the selected order.
While the Northwind database include the canonical customer/order/order details information in its Customers, Orders, and Order Details tables, these tables arent captured in our architecture. Nonetheless, we can still illustrate using two dependent DropDownLists. The first DropDownList will list the categories and the second the products belonging to the selected category. A DetailsView will then list the details of the selected product.
Step 1: Creating and Populating the Categories DropDownList
Our first goal is to add the DropDownList that lists the categories. These steps were examined in detail in the preceding tutorial, but are summarized here for completeness.
Open the MasterDetailsDetails.aspx page in the Filtering folder, add a DropDownList to the page, set its ID property to Categories, and then click the Configure Data Source link in its smart tag. From the Data Source Configuration Wizard choose to add a new data source.
Figure 1: Add a New Data Source for the DropDownList (Click to view full-size ima
您可能关注的文档
- 手动变速器设计说明书(机械cad图纸) 本科毕业论文(设计).doc
- 手动叉车的设计(机械cad图纸) 本科毕业论文(设计).doc
- 手工艺品网上代销策划方案 本科毕业论文(设计).doc
- 手机淘宝店铺推广和创新方案 本科毕业论文(设计).doc
- 手机app移动开发论文-个人心情日记本的设计实现 本科毕业论文(设计).doc
- 书联网构建策划书 本科毕业论文(设计).doc
- 首格格子间女生项目创业实施方案 本科毕业论文(设计).doc
- 手柄座零件的加工工艺规程及钻孔夹具设计(机械cad图纸) 本科毕业论文(设计).doc
- 输出轴的机械加工工艺规程 本科毕业论文(设计).doc
- 数据结构课程设计报告—猴子选大王 本科毕业论文(设计).doc
- 2025-2026学年天津市和平区高三(上)期末数学试卷(含解析).pdf
- 2025-2026学年云南省楚雄州高三(上)期末数学试卷(含答案).pdf
- 2025-2026学年甘肃省天水市张家川实验中学高三(上)期末数学试卷(含答案).docx
- 2025-2026学年福建省厦门市松柏中学高二(上)期末数学试卷(含答案).docx
- 2025-2026学年广西钦州市高一(上)期末物理试卷(含答案).docx
- 2025-2026学年河北省邯郸市临漳县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省石家庄二十三中七年级(上)期末历史试卷(含答案).docx
- 2025-2026学年海南省五指山市九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省唐山市玉田县九年级(上)期末化学试卷(含答案).docx
- 2025-2026学年河北省邢台市市区九年级(上)期末化学试卷(含答案).docx
原创力文档

文档评论(0)