Reputation: 148694
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 ?
Upvotes: 6
Views: 19316