- 3
- 0
- 约2.11万字
- 约 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
您可能关注的文档
- 攀枝花市垭口公路养护站公租房建设项目施工组织设计 大学毕业论文设计.doc
- 攀枝花市垭口公路养护站公租房建设项目土方施工方案 大学毕业论文设计.doc
- 配电工程施工组织设计 本科毕业论文设计.doc
- 品维果蔬脆网络推广方案 本科毕业论文设计.doc
- 平衡臂机械手设计 本科毕业论文设计.doc
- 葡萄酒的评价-数学建模论文 本科毕业论文设计.doc
- 齐鲁工业实验室仪器设备竞争性磋商文件 本科毕业论文设计.doc
- 企业管理论文—《高档餐饮业探究》 本科毕业论文设计.doc
- 企业管理论文-设备、生产及企业等管理 本科毕业论文设计.doc
- 普通昆虫学论文-天津师大校园昆虫初步调查 本科毕业论文设计.doc
- 2026年无线远程云台控制器项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年白芦笋条项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年不锈钢鼓形保温提锅项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年喷头梳子项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年三碟盒项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年防火门锁项目可行性研究报告(市场数据调查、监测研究).docx
- 2026版事业单位笔试-江西-江西肿瘤科(医疗招聘)历年参考题库含答案解析5套试卷版.docx
- 2026年塑料化妆品瓶项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年制冷配件项目可行性研究报告(市场数据调查、监测研究).docx
- 2026年除漆去污剂项目可行性研究报告(市场数据调查、监测研究).docx
最近下载
- 乐购Hymall连锁超市-收银员排班工具使用作业规范.pdf VIP
- 黑龙江省教育学会示范性高中专业委员会2025届高三下学期第一次模拟考试 语文 含答案.docx VIP
- ISPE第五部分试车与确认课件.pptx VIP
- 【2026年春新教材】部编版小学二年级下册道德与法治全册教案(教学设计).docx
- 数学北师大版八年级下册多边形的内角和教学设计.docx VIP
- 守正创新担使命,凝心聚力启新程——校长在2026年春季学期全体教师开学大会上的讲话.docx
- 《体育课程与教学论》全套PPT课件.pptx VIP
- 第一章税收初阶资料.ppt VIP
- 数据接口安全管理制度.docx VIP
- 道路车辆 电气及电子设备的环境条件和试验 第3部分:机械负荷.docx VIP
原创力文档

文档评论(0)