Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set value of entity NBSP into a string?
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to set value of entity NBSP into a string?
Divers
Thread ID:
01169162
Message ID:
01169162
Vues:
66
I need to figure out how to set a value of the HTML entity NBSP ( Ampersand + NBSP + Semicolon) into a string so that the browser will interpret it as an HTML special character and not a literal character.

For example, if I do
string mystreen = "&"+ "nbsp" + ";" ;
The browser will show this string literally. But this is NOT what I want.

Thank you for any suggestions.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform