Dear Mr.arthik mahalingam
protected void Button1_Click(object sender, EventArgs e)
{
string strHTML = "<html><body>
My First Heading
My first paragraph.
</body></html>";
LiteralControl literal = new LiteralControl();
literal.Text = strHTML;
this.Controls.Add(literal);
}
In this solution We recieved html text in literal, How to print this literal text?