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 |
![]() |
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 |
![]() |
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 |
![]() |