bonjour
j'ai une liste deroualnte :
alors je veux afficher dans le meme formulaire dans un textbox le code_comptable de la designation qd je selectionne la designation dans la
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="budg" DataTextField="DESIGNATION" DataValueField="ID_RUBRIQUE" Width="216px" AppendDataBoundItems="true" OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged"> <asp:ListItem>--Sélectionnez une rubrique--</asp:ListItem> </asp:DropDownList> <asp:SqlDataSource ID="budg" runat="server" ConnectionString="<%$ ConnectionStrings:budgConnectionString2 %>" SelectCommand="SELECT [CODE_COMPTABLE], [ID_RUBRIQUE], [DESIGNATION] FROM [RUBRIQUE] where [ID_RUBRIQUE_MERE] IS NULL"></asp:SqlDataSource>
liste de roulante
qlq'un a une idée ?? et merci d'avance
Partager