By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
439,972 Members | 1,454 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 439,972 IT Pros & Developers. It's quick & easy.

Sharing variables between pages...

P: n/a
hello all

how can i share variables between asp.net pages without using the session or anything that has got to do with the global file. can i use properties for this? 1 page calling the other to accept the value

Asha Gill
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Here's a way to pass values between .aspx pages.

http://authors.aspalliance.com/kenc/passval.aspx

"Asha Gill" <an*******@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
hello all,

how can i share variables between asp.net pages without using the session
or anything that has got to do with the global file. can i use properties
for this? 1 page calling the other to accept the value?
Asha Gill


Nov 18 '05 #2

P: n/a
Yes properties is the way to go. Ken's excellent example shows you the ideal
way to do this.
--
Peter Wright
Author of ADO.NET Novice To Pro, from Apress Inc.
www.petewright.org
_____________________________
"Asha Gill" <an*******@discussions.microsoft.com> wrote in message
news:FE**********************************@microsof t.com...
hello all,

how can i share variables between asp.net pages without using the session or anything that has got to do with the global file. can i use properties
for this? 1 page calling the other to accept the value?

Asha Gill

Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.