Code example 13-1 <asp:SqlDataSource ID="SqlDataSource2" runat="server"    ConnectionString="Data Source=localhost\sqlexpress;        Initial Catalog=Halloween;Integrated Security=True"    SelectCommand="SELECT [InvoiceNumber], [OrderDate], [Total]        FROM [Invoices]        WHERE ([CustEmail] = @CustEmail)        ORDER BY [Total]">    <SelectParameters>        <asp:ControlParameter ControlID="ddlCustomers" Name="CustEmail"            PropertyName="SelectedValue" Type="String" />    </SelectParameters> </asp:SqlDataSource>     (Refer to code example 13-1.) Which of the following identifies the property that contains the value that will be used to determine the invoices that are included in the data source?   The @CategoryID parameter   The Name attribute of the ControlParameter element   The ControlID attribute of the ControlParameter element   The PropertyName attribute of the ControlParameter element

Programming with Microsoft Visual Basic 2017
8th Edition
ISBN:9781337102124
Author:Diane Zak
Publisher:Diane Zak
Chapter11: Sql Server Databases
Section: Chapter Questions
Problem 6E
icon
Related questions
icon
Concept explainers
Question

Code example 13-1

<asp:SqlDataSource ID="SqlDataSource2" runat="server"

   ConnectionString="Data Source=localhost\sqlexpress;

       Initial Catalog=Halloween;Integrated Security=True"

   SelectCommand="SELECT [InvoiceNumber], [OrderDate], [Total]

       FROM [Invoices]

       WHERE ([CustEmail] = @CustEmail)

       ORDER BY [Total]">

   <SelectParameters>

       <asp:ControlParameter ControlID="ddlCustomers" Name="CustEmail"

           PropertyName="SelectedValue" Type="String" />

   </SelectParameters>

</asp:SqlDataSource>

 

 

(Refer to code example 13-1.) Which of the following identifies the property that contains the value that will be used to determine the invoices that are included in the data source?

 

The @CategoryID parameter

 

The Name attribute of the ControlParameter element

 

The ControlID attribute of the ControlParameter element

 

The PropertyName attribute of the ControlParameter element

 

AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning