By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,162 Members | 1,061 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,162 IT Pros & Developers. It's quick & easy.

How to use Server.HTMLEncode inside response.write

P: 1
Am trying to execute the below code,
"Response.Write(Server.HTMLEncode(string))"...
And i am getting some HTML code is visible in the asp screen... I want to know how to use Server.HTMLEncode inside response.write in a proper way ?
Thanks in advance!
Apr 6 '15 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.