How to use HtmlEncode in a Windows App

  • Thread starter Thread starter RichardF
  • Start date Start date
R

RichardF

I need to use HtmlEncode in a windows application to write a string to
a database that will subsequently be used by a Web Service and Web
Site.

I find how to make use of HtmlEncode from a windows app!

Any help?

Thanks

RichardF
 
RichardF said:
I find how to make use of HtmlEncode from a windows app!

Add a reference to "System.Web.dll", import the 'System.Web' namespace and
use 'HttpUtility.HtmlEncode'.
 
Back
Top