Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > ASP Forms
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 3rd, 2005, 05:30 AM
Registered User
 
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jolly
Default How to pass field value from one field to another

Hi all,

few days back i started working on asp.net and practising it...
how to Post form data from one ASP.Net page to another asp.net page?
what coding is required on both asp.net page?
If some script is required, do tell using javascript..

:)
jolly

 
Old May 3rd, 2005, 06:24 AM
Friend of Wrox
 
Join Date: Apr 2005
Posts: 186
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It seems that you have been working with ASP previously.
ASP.NET works differently, It post backs to the same page always.

If you want to move from a page to another, you can use the Response.Redirect or the Server.Transfer.

Now the case of data transfer between pages,
1) You can pass through traditional Query string
2) Via session variables (even you can put an object into session)
3) Accessing the page values while using Server.transfer

More Details can found at.

http://msdn.microsoft.com/library/de...tweenpages.asp




 
Old May 7th, 2005, 01:40 AM
Registered User
 
Join Date: May 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jolly
Default

thanks.. i went through the link and it worked....






Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Gridview field if null with new field Indo77 ASP.NET 2.0 Basics 1 June 18th, 2007 06:22 AM
pass value to the hidden field Dejitan ASP.NET 1.0 and 1.1 Basics 4 December 21st, 2006 03:13 AM
Copy previous field record if next field is null ecampos Access VBA 6 June 23rd, 2006 12:55 PM
Pass select values to hidden text field? abq23 Javascript How-To 2 July 20th, 2004 09:47 PM
Update city field based on zip field nganb SQL Server ASP 0 April 22nd, 2004 10:30 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.