472,353 Members | 2,027 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

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 10383
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. ...
2
by: Robin | last post by:
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...
4
by: Doruk | last post by:
The problem that we are experiencing is simple: We want to pass certain parameters from a page with several server controls to another page. ...
5
by: francois | last post by:
I would like to pass information between ASPX pages. For now, my navigation are hardcoded links. In some case I do a...
2
by: Alessandro Rossi | last post by:
Hi, I have a usercontrol with a button. In the button's click event I have to open an instance of an aspx page, passing some values to some public...
1
by: Eric | last post by:
Hello, I am trying to come up with the best way to pass large amounts of data from page to page, namely a data table. The user needs to enter...
2
by: macyp | last post by:
I have to pass values from one aspx page to another. The controls I have in the first page are: a textbox, 3 drop down lists, and 2 check boxes,...
5
by: GeRmIc | last post by:
Hi, I have an ASPX application from which I need to pass session variables (ex:username and password) to an ASP Page. How do I do this? Could you...
0
by: James Robertson | last post by:
OK so I have that and get it. Now here is my code, I want to insert the www.mydomain.com?email=username@domain.com to the string "USER@DOMAIN.NET"...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
by: Arjunsri | last post by:
I have a Redshift database that I need to use as an import data source. I have configured the DSN connection using the server, port, database, and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Matthew3360 | last post by:
Hi, I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.