Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Databases
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Classic ASP Databases Discuss using ASP 3 to work with data in databases, including ASP Database Setup issues from the old P2P forum on this specific subtopic. See also the book forum Beginning ASP.NET Databases for questions specific to that book. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Databases section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 23rd, 2007, 03:28 AM
Authorized User
 
Join Date: Jan 2007
Location: Pune, , India.
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to pushpa
Default How to submit the different data on single submit

<%@ language=VBScript %>

<html >
<head>
<title>Encore Support Portal</title>
</head>
<body>
<form name="test1" action="test.asp" method="post" id="form1">
<input type="text" name="fname">
<input type="text" name="lname">
</form>
</body>
</html>


<html>
<body>
<form name="test" action="test.asp" method="post">
<input type="text" name="education">
<input type="text" name="profession">
<input type="submit" name="Submit" value="Generate" ID="Submit1">
</form>

</body>
</html>

<%

Response.Write(Request.Form("test1.fname"))
Response.Write(Request.Form("test1.lname"))
Response.Write(Request.Form("education"))
Response.Write(Request.Form("profession"))
%>


plz anybody tell me how to submit the different data of different forms if the asp on single submit.

Reply With Quote
  #2 (permalink)  
Old January 24th, 2007, 07:10 PM
Registered User
 
Join Date: Jan 2007
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

<html><head></head><body>
<form action="test.asp?n=1" method="post">
First Name: <input type="text" name="fname" id="fname"><br />
Last Name: <input type="text" name="lname" id="lname"><br />
Profession: <input type="text" name="prof" id="prof"><br />
Education: <input type="text" name="educ" id="educ"><br />
<input type="submit" value="Generate">
<%
if request.querystring("n")=1 then
response.write(fname&"<br />")
response.write(lname&"<br />")
response.write(prof&"<br />")
response.write(educ&"<br />")
%>
</body>
</html>

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
single submit to related tables forumuser BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 10 December 2nd, 2007 10:29 AM
A single JSP page havin one submit & normal button PrincessDreamz JSP Basics 1 September 4th, 2007 07:08 AM
Submit Form with QueryString Data Phil06 Javascript 4 June 15th, 2007 06:11 PM
Refresh Data when Submit Form ruso77 Infopath 0 April 13th, 2007 02:30 PM
How can we submit a form without a submit butto phpsharma BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 4 October 20th, 2003 08:50 AM



All times are GMT -4. The time now is 07:58 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.