decode query string parameter in asp.net
I have a query string paramet开发者_运维知识库er 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?
In your code behind
Server.UrlDecode(Request.QueryString[name]);
精彩评论