0
我有一个网格和dropdownlist.I想通过dropdownlist的选择过滤网格中的值。如何才能做到这一点? 我的代码是这样的通过选择下拉列表来筛选网格的值
<asp:DropDownList ID="DDLVisitedVol" runat="server" AutoPostBack="true" DataSourceID="DsVisitedVol"
DataTextField="VisitedVol" DataValueField="VisitedVol"
Width="244px">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString=""
ProviderName=""
SelectCommand="SELECT [ID],[UserName], [Email], [visitedVol] FROM [HitTracker] where [email protected] ">
<SelectParameters>
<asp:Parameter Name="VisitedVol" Type="String"/>
</SelectParameters>
我如何可以通过下拉列表来@VisitedVol的设定值。 如果有人知道请帮帮我。 thank you