hj jh

hj jh

  • NA
  • 145
  • 19.6k

I want to insert HTML tags in database from c#.I tried using Server.HTMLEncode but when I click on save button then it is not getting called.

Sep 17 2012 6:22 AM
Hi, I have 1 web application in c#.Simple problem is to insert the HTML tags like "<" and ">" in database from front end.
When i write this in text box & then press button to save, it is not getting called but if I remove it then it works fine.
Also note that I tried this using HTMLEncode method as well...
Kindly give suggestion for the same

Answers (3)