Query String

T

TARUN

Hello All

I got stuck i one problem, I need toi Know how to clear the query
string.
I search in net and came to Know that there is one methos called
Requst.QueryString.clear
but this is use for read only collection.
Can one suggest me the code for that ???

Thank you
tarun sinha
 
M

Marina Levit [MVP]

Since it's read only you can't. You can redirect to the same page without
anything in the query string, but of course that is a reload of the page.
Otherwise, maybe you need to change the mechanims in which you pass around
information so that it can be removed.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top