Hello friends,
I'm putting html data via CKEditor (a richedittextbox ) to my database as string.
I want to put retrievet data AS HTML to my page. How can I do this?
My current code is:
Result is:
I'm putting html data via CKEditor (a richedittextbox ) to my database as string.
I want to put retrievet data AS HTML to my page. How can I do this?
My current code is:
Code:
Me.myContent.InnerHtml = Server.HtmlDecode(myVar) myContent = a Div with runat=server myVar = retrieved data from database
Code:
<h1> <img alt="Saturn V carrying Apollo 11" class="right" src="http://bytes.com/assets/sample.jpg" /> Apollo 11 </h1> <p> <b>Apollo 11</b> was the spaceflight that landed the first humans, Americans <a href="http://en.w.... etc. etc.
Comment