Here is the sample code :
The dropdown loads from database,I want it to retain the selected value after submit.
<select name="ddlPriority">
<%
DIM strPriority
DO WHILE NOT objRS.EOF
strPriority = objRS.Fields(0)
%>
<option value><%=strPriority%></option>
<%
objRS.MoveNext
Loop

objRS.Close
Set objRS = Nothing

Please help me on this.
%>
</select