html-tags in string

A

Alexander Widera

hi,

i want to store a text with html-tags in a string. and i want to write them
later to a page. But the html-tags shouldn't be interpreted ... the original
string (the source-code of the html) should be shown.
In PHP there is an function htmlspecialchars() to prevent interpreting, but
is there something like that in ASP.Net (c#) ?

Thanks for help.

alex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top