A
anony
Hi,
I have a field in my database that contains some HTML. When I return the
database query to my page, the browser reads the HTML as... well, HTML. I
don't want the browser to interpret the HTML... rather, just display the
text from my data reader. What is the best way to do this without using a
control? I know I can attach it to a textbox and it will display the HTML
as text, but I'd rather not do it that way.
Thanks,
Brian
I have a field in my database that contains some HTML. When I return the
database query to my page, the browser reads the HTML as... well, HTML. I
don't want the browser to interpret the HTML... rather, just display the
text from my data reader. What is the best way to do this without using a
control? I know I can attach it to a textbox and it will display the HTML
as text, but I'd rather not do it that way.
Thanks,
Brian