want to convert html page into word

Posted by Coolbudy under ASP.NET on 11/27/2012 | Points: 10 | Views : 1100 | Status : [Member] | Replies : 3
hey guys,

I want to convert html page into word file not html format any one have idea about that




Responses

Posted by: Ranjeet_8 on: 11/27/2012 [Member] [MVP] Gold | Points: 25
Posted by: Coolbudy on: 11/27/2012 [Member] Starter | Points: 25

Up
0
Down
i don't want to convert online i want to code which i implement in my asp.net forum

Coolbudy, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sebas on: 6/12/2013 [Member] Starter | Points: 25

Up
0
Down
Hi,
you can try some 3rd party libraries to convert html into word file. For instance, look at this component:
http://eleriumsoft.com/Word_NET/HTML2WORD/Default.aspx

Example of use of the component :
string html="<table><tr><td><b>Text</b></td></tr></table>"

Document doc = Document.ReadHTML(html);
doc.WriteDOCX(@"c:\report.docx");


Coolbudy, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response