alli
03-24-2003, 01:42 PM
I'm trying to display a list of descriptions with its corresponding ID's, but hide the ID's. Is there a way to do this in Dreamweaver MX?
|
Click to See Complete Forum and Search --> : ASP.NET dropdown boxes using Dreamweaver MX alli 03-24-2003, 01:42 PM I'm trying to display a list of descriptions with its corresponding ID's, but hide the ID's. Is there a way to do this in Dreamweaver MX? Ribeyed 03-24-2003, 08:45 PM hi, here is some code. The value part will not be displayed. You can use a variable for the value. <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="iso-8859-1" %> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <form action="" method="post" runat="server"> <asp:dropdownlist ID="test" runat="server"> <asp:listitem Value="1" Text="Test" runat="server"> test1 </asp:listitem> <asp:listitem Value="2" Text="Test" runat="server"> test2 </asp:listitem> <asp:listitem Value="3" Text="Test" runat="server"> test3 </asp:listitem> <asp:listitem Value="4" Text="Test" runat="server"> test4 </asp:listitem> </asp:dropdownlist> </form> </body> </html> PeOfEo 03-25-2003, 05:43 PM Do you wish to encorperate a data base? Are the items in a data base or do you want something like ribeyed posted above? webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |