开发者

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]);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜