HTML ENCODE & DECODE
Posted
by Zerotoinfinite
on Stack Overflow
See other posts from Stack Overflow
or by Zerotoinfinite
Published on 2010-04-17T21:26:59Z
Indexed on
2010/04/17
21:33 UTC
Read the original article
Hit count: 589
html
|html-encode
Hi All,
I am looking for a HTML editor, and I found many links through google like this
http://online-html-editor.org/
Now I have written something on it: Let say the below content
Heading
The'la;skdlajlsdjansdkahskdkhaksdhkhaskdhkhaskhdkashdkhaksda
bool tt = new bool(); if (txtStatus.Text == "true") tt = true; else tt = false;
Now I want to save this content into the database and display as a normal text on a page.
While extracting I can use Server.HTMLDecode, but I am facing problem while inserting this html data which I have copied from the sites.
Please help. Thanks in advance.
© Stack Overflow or respective owner