<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
</head>
<body>
<form name="form1" method="post" action="qq.asp?cz=1">
<select name="where" size="5" id="where">
<option value="一">查询一</option>
<option value="二">查询二</option>
</select>
<input name="names" type="text" id="names">
<input type="submit" name="Submit" value="提交">
</form>
<%if request.QueryString("cz")="1" then
where=request.Form("where")
names=request.Form("names")
%>
<table width="100%" height="167" border="0" cellpadding="0" cellspacing="0">
<tr>
<td><%response.Write(where&"<br>")
response.Write(names)%></td>
</tr>
</table>
<%else%>
<%end if%>
</body>
</html>
随便写了个 能得到值 你在写个查询就可以