CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Html Encoding

Threaded View

  1. #1
    Join Date
    Jan 2005
    Posts
    224

    Html Encoding

    Hi all

    I am getting problem in encoding the text into HTMl in windows forms

    I have added reference System.web

    string test = "< & >";
    string test1 = HttpUtility.HtmlEncode(test)



    but i am unable to do the encoding just i am getting the same string

    Thanks a lot
    Last edited by tis707; December 15th, 2008 at 03:47 AM. Reason: typo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured