下拉列表如何传递参数???
程序代码:
<!--#include file="foot.asp"--> <!--#include file="Top_Kuaijie.asp"--> <!--#include file="Include/Func_LJ.asp"--> <!--#include file="conn.asp"--> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www. xmlns="http://www.专业介绍</title> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <style type="text/css">td img {display: block;}body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } </style> <link href="Css/Kuaijie.css" rel="stylesheet" type="text/css" /> <link href="Css/index.css" rel="stylesheet" type="text/css" /> </head> <body bgcolor="#ffffff"> <div align="center"> <table border="0" cellpadding="0" cellspacing="0" width="800"> <tr> <td><img src="IMG/spacer.gif" width="67" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="38" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="62" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="20" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="56" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="74" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="72" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="76" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="73" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="78" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="117" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="67" height="1" border="0" alt="" /></td> <td><img src="IMG/spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <%Call Top()%> <tr> <td colspan="4" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="186"> <tr> <td><img src="IMG/ImgLJ/spacer.gif" width="49" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="137" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td colspan="2"><img name="KJ_r1_c1" src="IMG/ImgLJ/KJ_r1_c1.jpg" width="186" height="54" border="0" id="KJ_r1_c1" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="54" border="0" alt="" /></td> </tr> <%Call Seach()%> <tr> <td colspan="2"><img name="KJ_r4_c1" src="IMG/ImgLJ/KJ_r4_c1.jpg" width="186" height="45" border="0" id="KJ_r4_c1" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="45" border="0" alt="" /></td> </tr> <tr> <td colspan="2" background="IMG/ImgLJ/KJ_r5_c1.jpg"> <%Call ArticleLink()%> </td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="8" border="0" alt="" /></td> </tr> <tr> <td colspan="2"><img name="KJ_r7_c1" src="IMG/ImgLJ/KJ_r7_c1.jpg" width="186" height="45" border="0" id="KJ_r7_c1" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="45" border="0" alt="" /></td> </tr> <tr> <td colspan="2" background="IMG/ImgLJ/KJ_r8_c1.jpg"> <%Call Article("ZhuanyeShow.asp",65)%> </td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="5" border="0" alt="" /></td> </tr> <tr> <td colspan="2"><img name="KJ_r10_c1" src="IMG/ImgLJ/KJ_r10_c1.jpg" width="186" height="14" border="0" id="KJ_r10_c1" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="14" border="0" alt="" /></td> </tr> </table> </td> <td colspan="8" valign="top"> <table border="0" cellpadding="0" cellspacing="0" width="613"> <tr> <td><img src="IMG/ImgLJ/spacer.gif" width="44" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="16" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="511" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="42" height="1" border="0" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="1" border="0" alt="" /></td> </tr> <tr> <td><img name="Temp_r1_c1" src="IMG/ImgLJ/Temp_r1_c1.jpg" width="44" height="31" border="0" id="Temp_r1_c1" alt="" /></td> <td colspan="2" background="IMG/ImgLJ/Temp_r1_c2.jpg"> <marquee behavior="scroll" direction="left" onmouseout="start()" onMouseOver="stop()" scrollamount="4"><a href="index.asp">湖南理工学院毕业生就业网</a>>><a href="Xibu.asp">快捷通道</a>>><a href="Zhuanye.asp">专业介绍</a></marquee></td> <td><img name="Temp_r1_c4" src="IMG/ImgLJ/Temp_r1_c4.jpg" width="42" height="31" border="0" id="Temp_r1_c4" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="31" border="0" alt="" /></td> </tr> <tr> <td colspan="2"><img name="Temp_r2_c1" src="IMG/ImgLJ/Temp_r2_c1.jpg" width="60" height="40" border="0" id="Temp_r2_c1" alt="" /></td> <td colspan="2" background="IMG/ImgLJ/Temp_r2_c3.jpg"><%Call KJTD()%></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="40" border="0" alt="" /></td> </tr> <tr> <td colspan="4" background="IMG/ImgLJ/Temp_r3_c1.jpg" align="center"> <div align="right" style="margin-right:15px; margin-top:4px;"> <form name="xibie"> <select name="Department" id="Department"> <option value="">请选择系别</option> <option value="数学与应用数学系">数学与应用数学系</option> <option value="计算机与信息工程系">计算机与信息工程系</option> <option value="物理与电子信息系">物理与电子信息系</option> <option value="机械与电气工程系">机械与电气工程系</option> <option value="化学化工系">化学化工系</option> <option value="土木建筑工程系">土木建筑工程系</option> <option value="经济与管理系">经济与管理系</option> <option value="中国语言文学系">中国语言文学系</option> <option value="外国语言文学系">外国语言文学系</option> <option value="政治与法学系">政治与法学系</option> <option value="新闻传播学系">新闻传播学系</option> <option value="旅游系">旅游系</option> <option value="音乐系">音乐系</option> <option value="体育系">体育系</option> <option value="美术系">美术系</option> </select> </form> </div> <table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <% set rs=server.CreateObject("adodb.recordset") sql="select * from Zhuanye where ID=16" rs.open sql,conn,1,1 %> <p align="center"><%=rs("title")%></p> <hr size="2px" color="#999999" /> <%=rs("content")%> <% rs.close set rs=nothing %> </td> </tr> </table> </td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="8" border="0" alt="" /></td> </tr> <tr> <td colspan="4"><img name="Temp_r5_c1" src="IMG/ImgLJ/Temp_r5_c1.jpg" width="613" height="16" border="0" id="Temp_r5_c1" alt="" /></td> <td><img src="IMG/ImgLJ/spacer.gif" width="1" height="16" border="0" alt="" /></td> </tr> </table> </td> <td><img src="IMG/spacer.gif" width="1" height="635" border="0" alt="" /></td> </tr> <%Call Foot()%> </table> </div> </body> </html>
请问怎样在这段代码中:<select name="Department" id="Department">
<option value="">请选择系别</option>
<option value="数学与应用数学系">数学与应用数学系</option>
<option value="计算机与信息工程系">计算机与信息工程系</option>
<option value="物理与电子信息系">物理与电子信息系</option>
<option value="机械与电气工程系">机械与电气工程系</option>
<option value="化学化工系">化学化工系</option>
<option value="土木建筑工程系">土木建筑工程系</option>
<option value="经济与管理系">经济与管理系</option>
<option value="中国语言文学系">中国语言文学系</option>
<option value="外国语言文学系">外国语言文学系</option>
<option value="政治与法学系">政治与法学系</option>
<option value="新闻传播学系">新闻传播学系</option>
<option value="旅游系">旅游系</option>
<option value="音乐系">音乐系</option>
<option value="体育系">体育系</option>
<option value="美术系">美术系</option>
</select>
添加参数从而把下面的代码接收的内容读出来呢?
<%
set rs=server.CreateObject("adodb.recordset")
sql="select * from Zhuanye where ID=16"
rs.open sql,conn,1,1
%>
<p align="center"><%=rs("title")%></p>
<hr size="2px" color="#999999" />
<%=rs("content")%>
<%
rs.close
set rs=nothing
%>