data in drop down menu
Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=10349
Printed Date: 31 March 2026 at 4:33pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: data in drop down menu
Posted By: Hrcko
Subject: data in drop down menu
Date Posted: 08 May 2004 at 12:02pm
|
How can i though the asp connection with access database put data in drop down menu ?
|
Replies:
Posted By: zaboss
Date Posted: 08 May 2004 at 5:10pm
<select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
&nbs p;
<% Set RSMEnu = MyConn.Execute("Select Orase From Liste_Orase Order
by Orase")
While not rsMenu.EOF%>
&nbs p;
<option
value="outside_view_results.asp?sortby =Oras&item=<%=RSMenu("Orase")%>"><%=RSMenu(" Orase")%></option>
&nbs p; <% rsMenu.MoveNext
Wend
rsMenu.MoveFirst
RSMenu.Close
Set RSMenu = Nothing %>
</select>
|
This is using the standard Dreamweaver Jump Menu function, instead it
is populated dynamicaly from a db. I'm sure you can make the
replacements and use it.
< id="kpfLog" src="http://localhost:44501/pl.?START_LOG" onload="destroy(this)" style="display: none;">
>
< ="text/">
------------- Cristian Banu
http://www.soft4web.ro - Soft 4 web
|
Posted By: zaboss
Date Posted: 08 May 2004 at 5:12pm
It seems there are some error with this post...
In the code, just ignore "&nbs p;"
And, of course, "
< id="kpfLog" src="http://localhost:44501/pl.?START_LOG" onload="destroy(this)" style="display: none;">
< ="text/">"
< id="kpfLog" src="http://localhost:44501/pl.?START_LOG" onload="destroy(this)" style="display: none;">
>
< ="text/">
------------- Cristian Banu
http://www.soft4web.ro - Soft 4 web
|
|