27 lines
842 B
Plaintext
27 lines
842 B
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
search_depart = request("search_depart")
|
|
Response.CharSet = "EUC-KR" 'ÇѱÛ
|
|
Response.AddHeader "Pragma","no-cache"
|
|
Response.AddHeader "cache-control", "no-staff"
|
|
Response.Expires = -1
|
|
|
|
response.write "<option value=" & ">Àü ü</option>" & "<br>"
|
|
|
|
query = " SELECT p_no, p_name "
|
|
query = query & " FROM v_person "
|
|
query = query & " WHERE p_resign = '0' "
|
|
query = query & " AND p_depart = '" & search_depart & "' "
|
|
if( search_depart = "18" )then
|
|
query = query & " AND p_job_now = '08' "
|
|
end if
|
|
query = query & " ORDER BY p_name "
|
|
|
|
Rs.Open query, adoConn, 1
|
|
for i=1 to Rs.recordCount
|
|
response.write "<option value='"& Rs("p_no")&"'>"&Rs("p_name")&"</option>" & "<br>"
|
|
Rs.movenext
|
|
next
|
|
|
|
Rs.close
|
|
%> |