Exporting HTML Table to MS Word?

A

A P

Is this possible? I am planning to export data from SQL that generates HTML
table. Instead of selecting the table and then copy then paste to word, I
need a script(JS or VB) that will automatically export or open the Query to
word.
 
B

Brad Kingsley

If you give the new page an extension of .doc, then Word should open the
client's desktop and display the page for them.

--
~Brad Kingsley
Microsoft MVP - ASP/.Net
Windows 2000 MCSE

http://www.orcsweb.com/
Powerful Web Hosting Solutions
#1 in Service and Support
 
A

A P

its very complicated. Why is it like that? I notice on excel, you only need
to include this line?

Response.ContentType = "application/vnd.ms-excel"

Then you can convert html tables to excel.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,249
Members
46,846
Latest member
BettinaOsw

Latest Threads

Top