Hi,
How to avoid Special character in file url in asp.net
Try below code
strFileName = strFileName.Replace("#", " ")
strFileName = strFileName.Replace("+", " ")
OR
How to avoid Special character in file url in asp.net
Try below code
strFileName = strFileName.Replace("#", " ")
strFileName = strFileName.Replace("+", " ")
OR
NavigateUrl = www.ursite.com? + Server.UrlEncode("query string params go here")
Response.Redirect("Default1.aspx?qstr=" + Server.UrlEncode(YourString));
Comments
Post a Comment