Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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, 2006, 12:46 AM
Authorized User
 
Join Date: Dec 2005
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kapi.goel
Default pass variable

How can i pass a variable value from one aspx page to another aspx page ???



KG
__________________
KG
 
Old January 6th, 2006, 05:54 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 440
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are several ways, and actually the same as you have probably been using in ASP.

1. You can use the URL (querystring), e.g. default.aspx?variable01=10&var02=something

2. You can use a Session object to store variables in. You can get much more information on the use my searching either this forum or using Google.

3. You can also use hidden fields in forms if you are posting a form.

4. Probably something I have forgotten ;)

Hope it helps,
Jacob.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help: How to pass a cell matrix as a variable in t cxycyVBA Excel VBA 0 September 10th, 2007 12:46 PM
Pass Value to XSLT variable bonekrusher XSLT 3 October 9th, 2006 10:16 AM
pass java variable to xsl variable kathy1016cats XSLT 1 June 14th, 2006 06:23 PM
pass the result of a query to a variable ... eusebio Pro VB Databases 6 March 30th, 2006 07:41 PM
pass form elements variable vickyj Classic ASP Basics 0 October 29th, 2005 04:58 AM





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