nerdexam
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

70-511 question #9 exhibit

Options

  • AordersBindingSource.DataSource = productsBindingSource
  • BproductsDataGridView.DataSource = ordersBindingSource
  • Corder_DetailsBindingSource.DataSource = ordersBindingSource
  • Dorder_DetailsDataGridView.DataSource = ordersBindingSource

How the community answered

(26 responses)
  • A
    15% (4)
  • B
    4% (1)
  • C
    73% (19)
  • D
    8% (2)

Community Discussion

No community discussion yet for this question.

Full 70-511 Practice