ASP 值传递的方法有哪些?

来源:百度知道 编辑:UC知道 时间:2024/06/14 10:43:41
<body >
<form name="form1" method="post" action="check.asp">
<table align="center" >
<tr>
<td>学号:</td><td><input type="text" name="xuehao"></td>
</tr>
<tr>
<td>密码:</td><td><input type="password" name="password"></td></tr>
<tr>
<td colspan="2" align="center"> <input type="button" name="zc" value="注册" onclick="location.href='zhuce.asp'">
<input type="submit" name="Submit" value="登陆">
<input type="reset" name="Submit" value="重置"></td>
</tr>
</table>
</form>
</body>

-------------------------------
怎么把上面的值传到这里?
check.asp

你这不就传了值了嘛

2中方法
<%
'a 为接受url传过来的变量
'b 为接受表单传过来的变量
a = request.querystring("a")
b = request.form("b")
response.write a
response.write b
%>

已经传递了