为什么<FORM>里有多个<SELECT>浏览时就会运行很长时间?
帮小弟看看啊,以下是我测试的代码:<!--#include file="conn/conn.asp" -->
<form name="form2" action="hire_save.asp" method="post">
<select size=1 id="dept" style="WIDTH: 120px">
<option value="部门不限" selected>部门不限</option>
<%
sqlz="select dept_id,dept_name from Comjobtype where dept_cmember='"&cmember_login&"'"
response.Write sqlz
rsz.open sql,conn,1,1
if not(rsz.eof and rsz.bof) then
do while not rsz.eof
response.write"<OPTION value="&rsz("dept_name")&">"&rsz("dept_name")&"</option>"
rsz.movenext
loop
end if
rsz.close
%>
</select>
<p></p>
<select name="s1">
<option value="请选择" selected>岗位类别大类</option>
<%
set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from classification order by position_id desc"
rs.open sql,conn,1,1
while not rs.eof%>
<option value="<%=rs("position_id")%>"><%=rs("position_name")%></option>
<%rs.movenext
wend
rs.close
set rs=nothing
%>
</select>
<select name="s2">
<option value="请选择" selected>岗位类别小类</option>
</select>
<select name="s11">
<option value="请选择" selected>航线区域大类</option>
<%
set rs = Server.CreateObject("ADODB.Recordset")
sql="select * from sail order by fid desc"
rs.open sql,conn,1,1
while not rs.eof%>
<option value="<%=rs("fid")%>"><%=rs("sail")%></option>
<%rs.movenext
wend
rs.close
set rs=nothing
%>
</select>
<select name="s21">
<option value="请选择" selected>航线区域小类</option>
</select>
<input type="button">
</form>