Removing specific QueryStrings

Posted by iTayb on Stack Overflow See other posts from Stack Overflow or by iTayb
Published on 2010-03-23T00:03:56Z Indexed on 2010/03/23 0:11 UTC
Read the original article Hit count: 527

Filed under:

Let's assume an aspx page gets multiple querystrings, for example books.aspx?author=Arthor&level=4&year=2004.

I'd like to create a button that clears specific querystrings.

For example when clearAuthorBtn is clicked, user should be redirected to books.aspx?level=4&year=2004

How can I make it? Thank you very much.

© Stack Overflow or respective owner

Related posts about c#