<select name="anclassid" size="1" id="anclassid" >
<%
do while not rs.eof
%>
<option value="<%=rs("anclassid")%>" <% if(rs("anclassid")=rs1("anclassid")) then %> selected <%end if%>><%=trim(rs("anclass"))%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>
<%
do while not rs.eof
%>
<option value="<%=rs("anclassid")%>" <% if(rs("anclassid")=rs1("anclassid")) then %> selected <%end if%>><%=trim(rs("anclass"))%></option>
<%
rs.movenext
loop
end if
rs.close
%>
</select>