Setting Defaults to Selects Dynamically

Added By: ranjitgoray

Rated:
(2 of 5) by 2.
Rate Snippet:
Description:  Function to set the default option in a select as selected, when reading from a database. The functio can be called like this <select name = "test"> <%=DisplayNames(connectionstring,option_value,option_display_string, which_table)%> </select>
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: