form 集合的简单应用

代码:

<!DOCTYPE html>

<html>

<body>

 

<form action="demo_simpleform1.asp" method="post">

First name:

<input type="text" name="fname" value="Donald" />

<br>

Last name:

<input type="text" name="lname" value="Duck" />

<br>

<input type="submit" value="Submit" />

</form>

 

<%

Response.Write(Request.Form)

%>

 

</body>

</html>

结果:

相关文章