p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Basics (http://p2p.wrox.com/forumdisplay.php?f=60)
-   -   Query String (http://p2p.wrox.com/showthread.php?t=23022)

Baby_programmer December 23rd, 2004 02:43 PM

Query String
 
Hi!friends
     i have a problem ..i want to cut one key/value pair from query string(having 2 key/value pairs).....So how can i do that ..
please help me.

i'll be thankfull to you guys :)

ashfaq

rehman_reck December 24th, 2004 01:32 AM

Query String of the request object is a readonly collection i suppose...can u give us more information...what situation u r trying to do this?
rahman


om_prakash December 24th, 2004 01:33 AM

If you have the querystring as :

test.asp?q1=1&q2=2 then you can get the values for q1 and q2 from following:

request.querystring("q1")
request.querystring("q2")



Om Prakash

Baby_programmer December 24th, 2004 11:14 AM

friends i was saying that suppose i have url_1.aspx?q1=1&q2=2 then i want this query string pass through the page url2.aspx+QueryString.ToString(); to url3.aspx but it should filter the Query string to url_3.aspx?q1=1, the q2=2 should be removed ...
Please help...
Thankx

ashfaq


All times are GMT -4. The time now is 09:42 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.