<asp:SqlDataSource ID="itemsforsale" runat="server"
ConnectionString="<%$ ConnectionStrings:ElmtreeConnection %>"
SelectCommand="SELECT * FROM Products WHERE Products.CategoryId = @CategoryId">
<SelectParameters>
<asp:QueryStringParameter Name="CategoryId"
QueryStringField="CategoryId" Type="Int32" />
</SelectParameters>
</asp:SqlDataSource>
<asp:HyperLink ID="hyperlink" runat="server"
NavigateUrl='<%# "ItemsForSale.aspx?CategoryId"+Eval("CategoryId") %>'
Text="Beauty"></asp:HyperLink>
This is my markup. I'm not getting any errors when loading the page, however the link is not working. Can anyone give me any insight as to why?