nerdexam
Microsoft

70-515 · Question #155

You are implementing an ASP.NET page. The page includes a method named GetCustomerOrderDataSet that returns a DataSet. The DataSet includes a DataTable named CustomerDetailsTable and a DataTable…

The correct answer is A. dtlView.DataSource = GetCustomerOrderDataSet(). See the full explanation below for the reasoning.

Question

You are implementing an ASP.NET page. The page includes a method named GetCustomerOrderDataSet that returns a DataSet. The DataSet includes a DataTable named CustomerDetailsTable and a DataTable named OrderDetailsTable. You need to display the data in OrderDetailsTable in a DetailsView control named dtlView. Which code segment should you use?

Options

  • AdtlView.DataSource = GetCustomerOrderDataSet();
  • BdtlView.DataSource = GetCustomerOrderDataSet();
  • CdtlView.DataSource = GetCustomerOrderDataSet();
  • DDataSet dataSet = GetCustomerOrderDataSet();

How the community answered

(41 responses)
  • A
    83% (34)
  • B
    5% (2)
  • C
    10% (4)
  • D
    2% (1)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice