| | |
Holding querystrings to use later on
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2008
Posts: 1
Reputation:
Solved Threads: 0
Hey, I've got a question on how to hold querystrings to use later on.
First of all, I'm using ASP.NET c# with an attached ORACLE server and I am working on making a very simple forum-based web-application.
I currently have one page which shows the sections ( which are in the database )
I currently have one page which shows the threads ( which are in the database )
Now, I have a querystring for the ID's of all the sections. So if i click on the first section it shows for example show_threads.aspx?target=1, since it redirects to a new page where all the threads linked to that sections ID should go.
The question is, how can i hold this querystring, so that if i got on the section, it still keeps the ID from the section, so i can only see the threads attached to this ID or start threads that are automaticly placed in this sections ID.
I hope you understand, since i'm still a beginner in programming.
Thanks in advance!
First of all, I'm using ASP.NET c# with an attached ORACLE server and I am working on making a very simple forum-based web-application.
I currently have one page which shows the sections ( which are in the database )
I currently have one page which shows the threads ( which are in the database )
Now, I have a querystring for the ID's of all the sections. So if i click on the first section it shows for example show_threads.aspx?target=1, since it redirects to a new page where all the threads linked to that sections ID should go.
The question is, how can i hold this querystring, so that if i got on the section, it still keeps the ID from the section, so i can only see the threads attached to this ID or start threads that are automaticly placed in this sections ID.
I hope you understand, since i'm still a beginner in programming.
Thanks in advance!
You may have to save it in cookie.
Better go to asp.net forum http://www.daniweb.com/forums/forum18.html and show your question there.
Better go to asp.net forum http://www.daniweb.com/forums/forum18.html and show your question there.
BI Developer | LINKdotNET
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
B.Sc Computer Science, Helwan University
Technical blog | http://ramymahrous.wordpress.com
LinkedIn | http://www.linkedin.com/in/ramymahrous
![]() |
Other Threads in the C# Forum
- Previous Thread: Explicit Conversation problem.
- Next Thread: pls Help!! how to search for string in a file with C# and Web Services??
| Thread Tools | Search this Thread |
.net access ado.net algorithm array barchart bitmap box broadcast buttons c# check checkbox client color combo combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees developer development draganddrop drawing encryption enum equation event excel file files form format forms function gdi+ httpwebrequest image index input install java label list listbox listener mandelbrot math mathematics mouseclick mysql nargalax operator path photoshop picturebox pixelinversion post programming radians regex remote remoting restore richtextbox save saving serialization server sleep socket sql stack statistics stream string table tcp text textbox thread time timer update usercontrol validation view visualstudio webbrowser windows winforms wpf xml






