<div class="filter">
<asp:Label ID="lblProduct" runat="server" Text="Product"></asp:Label>
<asp:CheckBoxList ID="CheckBoxList1" runat="server" DataSourceID="SqlDataSource1" DataTextField="CategoryTitle" DataValueField="CategoryTitle"></asp:CheckBoxList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Product%>" SelectCommand="SELECT [ProdustId], [ProductTitle] FROM [ProductMaster] WHERE ID=1 "></asp:SqlDataSource>
</div>
<div class="filter">
<asp:Label ID="lblTopic" runat="server" Text="Topic"></asp:Label>
<asp:CheckBoxList ID="CheckBoxList2" runat="server" DataSourceID="SqlDataSource1" DataTextField="CategoryTitle" DataValueField="CategoryTitle"></asp:CheckBoxList>
<asp:SqlDataSource ID="SqlDataSource2" runat="server" ConnectionString="<%$ ConnectionStrings:Product%>" SelectCommand="SELECT [ProdustId], [ProductTitle] FROM [ProductMaster] WHERE ID=2 "></asp:SqlDataSource>
</div>
<div class="filter">
<asp:Label ID="lblContentType" runat="server" Text="Content Type"></asp:Label>
<asp:CheckBoxList ID="CheckBoxList3" runat="server" DataSourceID="SqlDataSource1" DataTextField="CategoryTitle" DataValueField="CategoryTitle"></asp:CheckBoxList>
<asp:SqlDataSource ID="SqlDataSource3" runat="server" ConnectionString="<%$ ConnectionStrings:Product%>" SelectCommand="SELECT [ProdustId], [ProductTitle] FROM [ProductMaster] WHERE ID=3"></asp:SqlDataSource>
</div>
我想在产品和公司上应用多选和多级过滤器,以便相应地显示价格。如果任何一个选择产品(笔记本电脑)名称,则只有笔记本电脑 - &gt;公司名称显示在公司列下,然后价格将根据所选公司显示。
请帮助指导我。我无法附加输出。下面是带复选框的
Product Name Company Price Laptop Toshiba 37000 Mobile Asus 2000 Tab Nokia 3000