Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
|
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET 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 January 6th, 2005, 03:41 AM
Authorized User
 
Join Date: Dec 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to NitinJoshi
Default How to get values of a text box from one page to

CAn any body tell..

How to get values of a text box from one page to another page...& HOW TO PRINT THEM ON
desired page.......?

i'm new to .net so will keep asking..don't mind

Thanx For if u replied!!!:D
 
Old January 6th, 2005, 03:56 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

1. Response.Redirect :: Response.Redirect("LandingPage.aspx?Name="+textbox 1.Text);

2. Cookies ::
HttpCookie testCookie = new HttpCookie("test");
testCookie.Value = textbox1.Text;
Response.Cookies.Add(testCookie);
Response.Redirect("LandingPage.aspx");

3. Session Variable ::

Session["TestVariable"] = textbox1.Text;
Response.Redirect("LandingPage.aspx");

4. Application Variables and Server.Transfer are other methods.

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old January 6th, 2005, 06:24 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

To retreive the values in the landing page ... For example .... Request.QueryString["Name"];

[Please refrain from posting seperate threads while responding :( ]

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com
 
Old January 6th, 2005, 06:30 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 307
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Vadivel Send a message via Yahoo to Vadivel
Default

http://www.google.com/search?hl=en&q...+pages+ASP.NET

Best Regards
Vadivel

MVP ASP/ASP.NET
http://vadivel.thinkingms.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
Grab Values From List Box into Text Box phungleon VB How-To 2 June 19th, 2008 10:33 PM
Text box values are different shoakat Classic ASP Databases 2 April 28th, 2005 12:29 AM
loop values and text box values move mateenmohd Classic ASP Basics 2 April 5th, 2005 11:33 PM
putting the values in the text box shoakat Classic ASP Databases 5 October 14th, 2004 02:37 PM
Getting text box values between forms? cdnamm BOOK: Professional C#, 2nd and 3rd Editions 1 August 13th, 2003 11:05 PM





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