html-tags in string

  • Thread starter Thread starter Alexander Widera
  • Start date Start date
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
 
Back
Top