日期:2014-05-17 浏览次数:20471 次
<asp:SqlDataSource ID="SqlDataSource2" runat="server"
ConnectionString="<%$ ConnectionStrings:Gwhsrv5 %>"
ProviderName="<%$ ConnectionStrings:Gwhsrv5.ProviderName %>"
SelectCommand="select floor from router_building_dict where location=@location">
<SelectParameters>
<asp:ControlParameter ControlID="DropDownList1" Name="location"
PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>