I have a field with product name
abc® product1
If I get the data from the database and databind it to the dropdownlist. It becomes
<option value="2">abc &reg; product1</option>
I don’t want ASP.net to escape the ® to %amp;reg.
What should I do?
You want to HTML encode the string prior to it being shown in the HTML. This will preserve its name