Get the form field values using request object - ASP Views : 840
Tagged in : ASP
Send mail vote down 1 vote down 0
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)
%>
By - Nirmala, On - 2009-08-31




    Login to add Comments .