Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 August 19th, 2004, 06:17 AM
Authorized User
 
Join Date: May 2004
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Default pass hidden values

how to pass hidden values between pages?

 
Old September 6th, 2004, 04:06 PM
Registered User
 
Join Date: Sep 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Use the viewstate object. Or you can use the session object.

dim x as integer = 12345
session("MyVariableName") = x

or

dim x as integer
x = session("MyVariableName")

The viewstate object is more DotNetish




 
Old September 8th, 2004, 07:38 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

You can pass them as an QueryString also if the number of values to be passed is less.But in the URL the values will be shown.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Pass values between pages msbsam ASP.NET 2.0 Professional 1 July 7th, 2008 06:13 AM
How to pass values between different pages dipanjan22 ASP.NET 1.x and 2.0 Application Design 4 September 30th, 2007 02:02 PM
pass value to the hidden field Dejitan ASP.NET 1.0 and 1.1 Basics 4 December 21st, 2006 03:13 AM
Pass hidden value from one domain to another relaytest49 Classic ASP Professional 6 October 31st, 2006 12:29 PM
Pass select values to hidden text field? abq23 Javascript How-To 2 July 20th, 2004 09:47 PM





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