Microsoft
70-511 · Question #9
You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit. You plan to add a DataGridView to display the dataset. You need to…
The correct answer is C. order_DetailsBindingSource.DataSource = ordersBindingSource. See the full explanation below for the reasoning.
Question
You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit. You plan to add a DataGridView to display the dataset. You need to ensure that the DataGridView meets the following requirements:
- Shows Order Details for the selected order.
- Shows only Order Details for items that have UnitPrice greater than
20
- Sorts Products by ProductName
Which code segment should you use?
Exhibit
Options
- AordersBindingSource.DataSource = productsBindingSource
- BproductsDataGridView.DataSource = ordersBindingSource
- Corder_DetailsBindingSource.DataSource = ordersBindingSource
- Dorder_DetailsDataGridView.DataSource = ordersBindingSource
How the community answered
(26 responses)- A15% (4)
- B4% (1)
- C73% (19)
- D8% (2)
Community Discussion
No community discussion yet for this question.
