making word and excel file

  • Thread starter Thread starter chalres
  • Start date Start date
C

chalres

i'd like to make some word and excel file from webpage
this word file is the same as the webpage
how can i make it?
 
You can try to set the Response.ContentType.

For excel:
Response.ContentType = "application/vnd.ms-excel";

For word:
Response.ContentType = "application/vnd.word";
 
yes, i know this
but it's not that i want to.
because the result word file or excel file does not the same as the webpage
for example, resume webform.aspx displayed on the webpage is converted word
file and excel file
both are exactly same..
 

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

Back
Top