I'm able to export text content to a Word document, but what I'm really after is to produce an HTML table displayed in Word. Right now, if I try to export html content, it only shows the markup tags.
If someone can provide some guidance on this, it would be definitely appreciated!
Code:
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/vnd.ms-word";
Response.Write("<b>Some text</b>");
Response.Flush();
Response.Close();
If someone can provide some guidance on this, it would be definitely appreciated!