How to remove

and and tags

Hi, 

I have some text in the database which has Html tags. I want that when I display the data the tags are removed.
HighOnCoding
Wanna get high!
0 azamsharp 7/24/2004 2:49:22 AM
You might consider called Server.HtmlEncode(data) on the rows to convert the html to characters that will be displayed in the browser.
--Brian Desmond
Windows Server MVP - Directory Services
http://www.briandesmond.com
0 bdesmond 7/24/2004 4:15:39 AM
Hi, 

Thanks for the Quick reply. Well now its displaying something like this:
" <P><P> <i><P>if( dr.Read())<P><P>{<P><P>Label1.Text = dr.GetString(0);<P>}<P> </i> "
What i need is to convert bold tag to bold text. Any idea how to do that.
HighOnCoding
Wanna get high!
0 azamsharp 7/24/2004 4:23:01 AM
Reply:

(Thread closed)