Solved

Query strings

Posted on 2004-10-11
3
203 Views
Last Modified: 2010-04-23
Hello everyone
I am trying to pass some values from one screen to the other..
but the page i want to send the user is in a variable called url..
and i want to pass another value to the page which is in a cariable called client
I know how to pass query strings when iam doing response.redirect to a webpage directly
but can somebody tell me how to use query strings when i am doing response.redirect through a variable

my code looks something like this
url = "transacations.aspx"
response.redirect(url)

it wud be really helpful if somebody cud help me on this
thanks in advance
0
Comment
Question by:yalamanchir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Expert Comment

by:Timbo87
ID: 12279879
If I understand correctly, you want to pass the query string of the current page to the new page.

url = "transacations.aspx"
Response.Redirect(url & Request.Url.Query)
0
 
LVL 18

Expert Comment

by:tusharashah
ID: 12279880
It would be samething:

Response.Redirect(url+ "?var1=" + var1.ToString() + "var2=" + var2.ToString())

-tushar
0
 
LVL 18

Accepted Solution

by:
tusharashah earned 500 total points
ID: 12279896
Response.Redirect(url+ "?var1=" & var1.ToString() & "&var2=" + var2.ToString())
0

Featured Post

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Suggested Courses

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question