devxlogo

Forcing HTML Data to Render Properly

Forcing HTML Data to Render Properly

If the data in your database looks like “SomeValue or other HTML, you have to do something to prevent the browser from showing the tags, when you want just to display the HTML. Here’s how to do it:

        under -->                           

“Notes” is a field name in the table containing HTML data.

Author’s Note: This tip is applicable only in ASP.NET 2.0.

devx-admin

Share the Post: