Solved

Create Web Page From Code Behind In VB.net

Posted on 2014-03-25
2
403 Views
Last Modified: 2014-03-25
I have a field in a MySQL table that contains the HTML code for a page. When I click a button on a page I want to retrieve the field from MYSQL and then and have it display on the current page. I can get the HTML code from MYSQL but I don't know how to display it.

What I am doing is storing a template in html code in mysql. When the user clicks the button I want to display the html that is in mysql with some updated text.

Thanks
0
Comment
Question by:whiwex
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 16

Accepted Solution

by:
SriVaddadi earned 500 total points
ID: 39953355
Add a Literal control on your web page.

When user clicks the button get the html and add the html as text to the literal control.

Page.Literal1.Text = "<Your html goes here>"; or even
0
 

Author Closing Comment

by:whiwex
ID: 39953786
Thanks that did the trick
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question