asp 中 表单内的元素 是如何传递数据的?

来源:百度知道 编辑:UC知道 时间:2024/06/12 14:24:56
比如 单选 复选 等 他们如何传递数据到服务器的
谁能给个例子

<form action="FormJumpRespond.asp" method="get">
<SELECT NAME="wheretogo">
<OPTION SELECTED VALUE="sohu">搜狐</OPTION>
<OPTION value="sina">新浪</OPTION>
<OPTION value="netease">网易</OPTION>

</SELECT>
<input type=submit value="转入">

服务器端的处理程序:
<%
where=Request.QueryString("Wheretogo")
Select Case where
case "sohu"
response.redirect "http://www.sohu.com"
case "sina"
response.redirect "http://www.sina.com.cn"
case "netease"
response.redirect "http://www.163.com"