How to use Server.HTMLEncode inside response.write

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sathishasp
    New Member
    • Apr 2015
    • 1

    How to use Server.HTMLEncode inside response.write

    Am trying to execute the below code,
    "Response.Write (Server.HTMLEnc ode(string))".. .
    And i am getting some HTML code is visible in the asp screen... I want to know how to use Server.HTMLEnco de inside response.write in a proper way ?
    Thanks in advance!
Working...