Get the form field values using request object
by Nirmala[ Edit ] 2009-08-31 14:20:51
Hi..
Get the posted form field values using request object method in ASP.
<form action="" method="post">
<input type="text" name="txt">
<input type="submit" value="submit">
</form>
Get the text box value using request object method.
<%
Dim pp
pp=Request.Form("txt") //Dont use single quote
Response.Write(pp)
%>
or
<%
Dim pp
pp=Request("txt") //txt is the textbox name
Response.Write(pp)
%>