Im using a label to display articles posted by users on my site.
if the user enters <strong> word </strong>
im wanting it to convert the text around the strong tags to bold text.
but i cant seem to find a way to do it.
is there anyway to do this? any help would be appreciated
thanks
heres the code for the label
__________________________________
<asp:Label ID="newsARTICLELabel" runat="server" Text='<%# Replace(Server.HTMLEncode(Convert.ToString(Eval("newsARTICLE"))),vbcrlf,"<br>") %>' Width="96%"></asp:Label>
if the user enters <strong> word </strong>
im wanting it to convert the text around the strong tags to bold text.
but i cant seem to find a way to do it.
is there anyway to do this? any help would be appreciated
thanks
heres the code for the label
__________________________________
<asp:Label ID="newsARTICLELabel" runat="server" Text='<%# Replace(Server.HTMLEncode(Convert.ToString(Eval("newsARTICLE"))),vbcrlf,"<br>") %>' Width="96%"></asp:Label>