469,353 Members | 2,053 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,353 developers. It's quick & easy.

aspx - passing variables through URL

I want to pass variables through the URL from one page to
another, and I am trying to use the request object in the
code-behind of the receiving page. I am passing through
the URL because I have created a URL link dynamically on
the sending page. What I suspect is that I need to use
the request statement on the aspx page of the receiving
page, put that into an object or variable (still on the
aspx page) and then in the code behind refer to the
object/variable. Am I making this too complicated? Any
input is appreciated.
Jul 19 '05 #1
2 10280
SR
Hi

Would recommend the approach given by MS for the same.
This is a neat and maintainable way to do the same

http://msdn.microsoft.com/library/default.asp?
url=/library/en-
us/cpguide/html/cpconpassingservercontrolvaluesbetweenpages
..asp

hope this helps

regards,

sr
-----Original Message-----
I want to pass variables through the URL from one page to
another, and I am trying to use the request object in the
code-behind of the receiving page. I am passing through
the URL because I have created a URL link dynamically on
the sending page. What I suspect is that I need to use
the request statement on the aspx page of the receiving
page, put that into an object or variable (still on the
aspx page) and then in the code behind refer to the
object/variable. Am I making this too complicated? Any
input is appreciated.
.

Jul 19 '05 #2
If u're talking about passing some values thro the querystring .. then
u should be able to capture the values in the page_onload event using
the request.querystring.
i guess this is what u're looking for ..?
regards,
Soni
Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by domeceo | last post: by
2 posts views Thread by Robin | last post: by
5 posts views Thread by francois | last post: by
2 posts views Thread by Alessandro Rossi | last post: by
1 post views Thread by Eric | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by suresh191 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.