1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
asp:SqlDataSource ID="DS_Agence" runat="server" ConnectionString="<%$ ConnectionStrings:CoffresConnectionString %>"
SelectCommand="select distinct agenceid,libelle from Vue_Generale_Compartiment order by libelle"></asp:SqlDataSource>
<asp:SqlDataSource ID="DS_Coffre" runat="server" ConnectionString="<%$ ConnectionStrings:CoffresConnectionString %>"
SelectCommand="select distinct CoffreId,coffrenumero from Vue_Generale_Compartiment where agenceId=@ParamAgenceId order by coffrenumero">
<SelectParameters>
<asp:ControlParameter Name="ParamAgenceId" ControlID="Agence" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID="DS_Compartiment" runat="server" ConnectionString="<%$ ConnectionStrings:CoffresConnectionString %>"
SelectCommand="select distinct CompartimentId,descriptionCompartiment,EtatCompartimentLib,TailleCompartimentLib from Vue_Generale_Compartiment where CoffreId=@ParamCoffreId order by CompartimentId">
<SelectParameters>
<asp:ControlParameter Name="ParamCoffreId" ControlID="Coffre" PropertyName="SelectedValue" />
</SelectParameters>
</asp:SqlDataSource> |
Partager