Professional Web Applications Themes

Exporting HTML Table to MS Word? - ASP Database

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....

  1. #1

    Default Exporting HTML Table to MS Word?

    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.


    A Guest

  2. #2

    Default Re: Exporting HTML Table to MS Word?

    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 P" <ph> wrote in message
    news:%phx.gbl... 


    Brad Guest

  3. #3

    Default Re: Exporting HTML Table to MS Word?

    On Mon, 6 Sep 2004 10:00:50 +0800, "A P" <ph> wrote:
     

    See:

    http://support.microsoft.com/default.aspx?scid=kb;en-us;311461

    Jeff
    Jeff Guest

  4. #4

    Default Re: Exporting HTML Table to MS Word?

    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.

    "Jeff Cochran" <com> wrote in message
    news:microsoft.com... [/ref]
    HTML [/ref]
    I [/ref]
    to 
    >
    > See:
    >
    > http://support.microsoft.com/default.aspx?scid=kb;en-us;311461
    >
    > Jeff[/ref]


    A Guest

  5. #5

    Default Re: Exporting HTML Table to MS Word?

    Its complicated because that is a .net example - .net is complicated....
    seems to be about all it is for me !

    There is the equivalent for your "application/vnd.ms-excel" ...

    application/msword

    Try these:
    http://ppewww.ph.gla.ac.uk/~flavell/www/content-type.html
    http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html

    both pretty useful.


    "A P" <ph> wrote in message
    news:phx.gbl... 
    need [/ref]
    > HTML [/ref]
    > I [/ref][/ref]
    Query 
    > >
    > > See:
    > >
    > > http://support.microsoft.com/default.aspx?scid=kb;en-us;311461
    > >
    > > Jeff[/ref]
    >
    >[/ref]


    Coz Guest

  6. #6

    Default Re: Exporting HTML Table to MS Word?

    thanks!
    "Coz" <com> wrote in message
    news:#phx.gbl... 
    > need [/ref][/ref]
    generates [/ref][/ref]
    word, [/ref]
    > Query 
    > >
    > >[/ref]
    >
    >[/ref]


    A Guest

  7. #7

    Default Re: Exporting HTML Table to MS Word?

    how about setting page margin on ms word? can I control that thru asp?
    "A P" <ph> wrote in message
    news:#phx.gbl... 
    > > need [/ref]
    > generates [/ref]
    > word, 
    > > Query 
    > >
    > >[/ref]
    >
    >[/ref]


    A Guest

Similar Threads

  1. exporting PDF to a word doent
    By SallySmith@adobeforums.com in forum Adobe Acrobat Macintosh
    Replies: 8
    Last Post: September 7th, 05:39 AM
  2. Exporting HTML Table to Excel?
    By M P in forum ASP Database
    Replies: 4
    Last Post: July 17th, 11:52 PM
  3. Exporting to a Word doent
    By anita_j_clement@adobeforums.com in forum Adobe Indesign Windows
    Replies: 3
    Last Post: July 6th, 09:30 AM
  4. exporting for word
    By Eric_Schwartz@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 3
    Last Post: May 22nd, 07:30 AM
  5. Exporting from PDF to MS Word format (.doc or RTF) ?
    By kamal_Dhingra@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 16
    Last Post: April 28th, 08:37 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139