日期:2014-05-18 浏览次数:20466 次
FileUpload1.Attributes.Add("onchange", @"document.getElementById('imgPhoto').src=document.getElementById('FileUpload1').value.unescape();");
FileUpload1.Attributes.Add("onchange", @"document.getElementById('imgPhoto').src=unescape(document.getElementById('FileUpload1').value);");
------解决方案--------------------
Microsoft.JScript.GlobalObject.unescape(object @string)
------解决方案--------------------
urlencode
urldecode