string str = "%3D1%26"; string newstr = Server.UrlDecode(str); Response.Write(newstr);输出结果为: =1& 不过你这应该是Url编码的,如果是HTML编码的应该用Server.HtmlEncode();用 HttpUtility.HtmlDecode()也是可以的,不过我习惯用Server类
HTML编码
原文:http://www.cnblogs.com/yanganok/p/5258257.html