I have this code :
string s = "royi";
string val = "5";
I also have a label <asp:Label ..../>
I want to create s+" "+val
but I want That the " " will be
How can I do it in server side ?
Doing this is showing me the   as text. ( ofcourse since we’re dealing with myLabel.Text which holds a text)
I’ve also tried :
HttpUtility.HtmlEncode(s + " " + val);
any help ?
is a different character than space – it is Unicode code point00A0. See on Wikipedia.If you use that character, you should be getting a non breaking space.