url en / decode [英] url en/decode

查看:105
本文介绍了url en / decode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请刷新我的记忆...如何解码网址编码的字符串......即,


& amp;到@

& quot;到

& lt;到<

& gt;到>





tia,


史蒂夫

解决方案

你好史蒂夫,


你的意思是?


HttpUtility.UrlEncode和HttpUtilityUrlDecode方法


Cor


我看到http /与en / decode和它在system.web

命名空间没有帮助文件,但我似乎无法在intelllisense中找到它。

在system.web intellisense列表中,我只是:
< br $>
aspnethostingpermission

aspnethostingpermissionattribute

aspnethostingpermissionlevel

服务


我'' m。使用.net 2k3 ......对此有何想法?


tia,


史蒂夫


我正在使用.net 2k3 ......有什么想法吗?




是的你设置了参考system.web?


Cor


refresh my memory please...how does one decode a url encoded string...i.e.,

&amp; to @
&quot; to "
&lt; to <
&gt; to >

etc.

tia,

steve

解决方案

Hi Steve,

You mean?

HttpUtility.UrlEncode and HttpUtilityUrlDecode Method

Cor


i saw httputility w/ both en/decode and that it was in the system.web
namespace w/n the help files but i can''t seem to find it in intelllisense.
in the system.web intellisense list, i just have:

aspnethostingpermission
aspnethostingpermissionattribute
aspnethostingpermissionlevel
services

i''m using .net 2k3...any thoughts on that?

tia,

steve


i''m using .net 2k3...any thoughts on that?



Yes did you set a reference to system.web?

Cor


这篇关于url en / decode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆