Related questions
Concept explainers
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
to generate a solution
a solution
- Text book imageProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningText book imageText book imageNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
- Text book imageA Guide to SQLComputer ScienceISBN:9781111527273Author:Philip J. PrattPublisher:Course Technology PtrText book imageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE LText book imageDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781305627482Author:Carlos Coronel, Steven MorrisPublisher:Cengage Learning