I'm trying to write some HTML out to the screen stored in a variable, I don't want to write the literal value I want to generate the page based on the HTML. PageData is the variable that contains the HTML. How would I write this out to the ASPX page and generate the HTML? Thanks for any help.
public partial class PrintPreview : CommonPage
{
public PrintPreview()
{
string Debug = "";
string PageData = "";
string htmlCode = Request.QueryString.Get("H
TML");
try
{
string[] results = BAL.processReprints(htmlCo
de);
PageData = results[0].ToString();
}
catch (Exception ex)
{
Logging.LogEntry(ex.Messag
e);
}
}
}
Start Free Trial