0

I have a query string parameter that is passed from one page to another.

The query string contains a value "plus" in it. I know that i can url encode the query string in first page and in second page i can decode it.

However on page 2, i am using..

 <SelectParameters>
    <asp:QueryStringParameter Name="FieldName" QueryStringField="Name" />
 </SelectParameters>

where and how can i decode the passed query string parameter?

1 Answer 1

2

In your code behind

Server.UrlDecode(Request.QueryString[name]);
Sign up to request clarification or add additional context in comments.

1 Comment

man..thanks !! i always thought i had to assign a variable to the server.urldecode..it works great..i should have atleast tried it..heheh..Thanks a bunch.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.