Some times you want to post your data from html page..
do this was a really simple task
<form method="post" action="URL" id="frmAddmissionEnquiry">
<input type="text" id="txtname" />
<input type="text" id="txtEmail" />
</form>
Capturing the same in asp page.
Request.Form["txtname"].ToString()
Returing back to the same form
Response.Redirect(Request.UrlReferrer.ToString());
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment