<FORM action="manage.asp" id=FORM1 method=post name=FORM1><BR>
<input type="hidden" name="action" value="submit">
请选择人员姓名:<BR>
<SELECT size=1 id=select1 name=select1 onchange="javascript:document.form1.submit();">
<%
sql = "SELECT * FROM mytable"
rstemp.open sql, conn, 1, 1
do while not rstemp.eof
%><option value=<%=rstemp("id")%>><%= rstemp("name")%></OPTION>
<%
rstemp.movenext
loop
rstemp.close
set rstemp=nothing
%>
</SELECT><BR>
在你要显示的表格内容中,判断是否进行了表单提交
<%
if request("action")="submit" then
set rs=server.createobject("adodb.recordset")
rs.open "select * from tablename where id="&trim(request("select1"))&"",conn,1,1
'然后就可以取你的值,并对你的表格进行填充了
end if
%>