3
Reply

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.

Ask a question
hj jh

hj jh

12y
7.7k
1
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)