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)- A83% (34)
- B5% (2)
- C10% (4)
- D2% (1)
Community Discussion
No community discussion yet for this question.