How do I prevent asp net from converting the symbol to amp when adding a url


1: URL

string url = "";

Solution 2: Encoding


Solution 3: Use .UrlDecode

string encodedUrl = "";
string decodedUrl = Server.UrlDecode(encodedUrl);


Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents