Serve HTML Table as Excel Worksheet


/ Published in: ASP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <% Response.ContentType = "application/vnd.ms-excel" %>
  2. <table>
  3. <tbody>
  4. <tr>
  5. <td>foo</td>
  6. <td>bar</td>
  7. </tr>
  8. </tbody>
  9. </table>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.