C# 如何从html编码的url获取完整的url
Folderpath\0\Microsoft%202007\chapter1\images 如何从此url路径中删除%20。 编辑:抱歉,我没有注意到ASP.Net中的ASP.Net标记。有一个更简单的方法: 使用这个C# 如何从html编码的url获取完整的url,c#,asp.net,C#,Asp.net,Folderpath\0\Microsoft%202007\chapter1\images 如何从此url路径中删除%20。 编辑:抱歉,我没有注意到ASP.Net中的ASP.Net标记。有一个更简单的方法: 使用这个 string s = HttpUtility.UrlDecode(@"folderpath\Microsoft%202007\chapter1\images");
string s = HttpUtility.UrlDecode(@"folderpath\Microsoft%202007\chapter1\images");