Microsoft
70-511 · Question #151
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
- 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
(47 responses)- A9% (4)
- B4% (2)
- C70% (33)
- D17% (8)
Community Discussion
No community discussion yet for this question.
