SELECT-POPULATOR.ASP

I find that when developing input forms, adding select tags is one of the most tedious tasks. This is especially true if they have to remember the values assigned to them. Realizing this, I wrote this function to facilitate things. Here are two examples:

asp:
<select name="name" onclick="document.form_name.submit();">
<%
test = array( _
array("1", "one"), array("2", "two"), array("3", "three"), array("4", "four"), array("5", "five"))
select_populator test, "3"
%>
</select>

asp.net:
<select name="name" onclick="document.form_name.submit();">
<%
Dim test(,) As String = {{"1", "one"}, {"1", "two"}, {"1", "three"}, {"1", "four"}, {"1", "five"}}
select_populator(test, "3")
%>
</select>