Problem with HTML String
-
Hi, I am developing one portal in that I am using richtext box to format the text. I did it. And I am saved it as HTML Encode using System.Microsoft.Application.AntiXss library Dll. I working fine. But when I am retriving it from the database and display on the page in side it is dispaling like <P align=center><B><FONT color=#ff6600 CVbhz="0" lHr4T="0">Looking for Executive Trainees</FONT></B></P> <P CVbhz="0" lHr4T="0">NTPC is looking for promising, energetic, young graduate engineers & professionals with brilliant academic record to join the organization as: </P> <P><B CVbhz="0" lHr4T="2">Executive Trainees<BR>Electrical (130), Mechanical (195), Civil (25), Control & Instrumentation (105), <A class=kLink oncontextmenu="return false;" id=KonaLink1 onmouseover=adlinkMouseOver(event,this,1); style="POSITION: static; TEXT-DECORATION: underline! important" onclick=adlinkMouseClick(event,this,1); onmouseout=adlinkMouseOut(event,this,1); href="http://www.mbajunction.com/jobs/displayjob.asp?fwid=6961#" target=_top><FONT style="FONT-WEIGHT: 700; FONT-SIZE: 8.3pt; COLOR: orange! important; FONT- Sorry When I paste it here it is looking different what I am seeing. just replace < with '<', > with '>' and like that. any suggestion would be acceptable Thanks and Regards