下面是代码,表单里的数据不能接收,谁能帮我(新手)改改,谢谢!
<body>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<!--DWLayoutTable-->
<tr>
<td width="750" height="100"><form id="form1" name="form1" method="post" action="">
<label>a
<input name="a" type="text" id="a" />
</label>
+
<label>b
<input name="b" type="text" id="b" />
</label>
</form>
</td>
</tr>
<tr>
<td height="100"><form id="form2" name="form2" method="post" action="">
<label>
<input type="submit" name="Submit" value="提交" />
</label>
</form>
</td>
</tr>
</table>
<%
Dim a,b,c
a=Request.Form("a")
b=Request.form("b")
c=CInt(a)+CInt(b)
Response.Write "a+b的和="&CStr(c)
%>
</body>
</html>