nerdexam
Microsoft

70-515 · Question #101

You are developing an ASP.NET web page. The page includes the following EntityDataSource control: <asp:EntityDataSource ID="EntityDataSource1" runat="server"…

The correct answer is D. Add the following element to the EntityDataSource control. See the full explanation below for the reasoning.

Question

You are developing an ASP.NET web page. The page includes the following EntityDataSource control:

<asp:EntityDataSource ID="EntityDataSource1" runat="server" ConnectionString="name=AdventureWorksEntities" DefaultContainerName="AdventureWorksEntities" EnableFlattening="False" EntitySetName="Products" /> The page must filter the data that is displayed in a grid on a query string parameter named ProductPrefix. The grid must display products whose ProductName starts with the query string value. You need to ensure that the page generates the appropriate database query. What should you do?

Options

  • AAdd the following element to the EntityDataSource control:
  • BAdd the following element to the EntityDataSource control:
  • CAdd the following element to the EntityDataSource control:
  • DAdd the following element to the EntityDataSource control:

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    14% (4)
  • C
    3% (1)
  • D
    76% (22)

Community Discussion

No community discussion yet for this question.

Full 70-515 Practice