How to write HTML out to aspx page from C#

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("HTML");

            string[] results = BAL.processReprints(htmlCode);
            PageData = results[0].ToString();
        catch (Exception ex)

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You can write raw HTML out to your ASPX page by using Response.Write.
If you are on the webpage you could use:
Page.Response.Write("my text");
Page.Controls.Add(new System.Web.UI.LiteralControl("my text"));

If you do not have access to page object (programming within a class), you could use:

System.Web.HttpContext.Current.Response.Write ("my text");

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jayv21Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.