Home > front end >  How asp export excel spreadsheets, on a mobile phone can normal to see
How asp export excel spreadsheets, on a mobile phone can normal to see

Time:05-25

Currently use is
Response. The ContentType="application/msExcel"
Response. AddHeader "content - disposition", "the inline; Filename=text. XLS "

Such export table, open on the computer no problem, but send WeChat messages, cannot open directly, tip error, should be generated web format problem, because this form on the computer opens, choose save as: Microsoft excel file types. XLS, only need to save, on a mobile phone is normal,

Ask: the asp code to generate excel, as long as WeChat in mobile phone, can directly open the can, whether the suffix is XLS or XLSX, no request,

CodePudding user response:

Has been solved! ,,,,,,,,

CodePudding user response:



Many third party libraries can be made to the standard of excel file npoi most commonly used, it is good reference
  •  Tags:  
  • ASP
  • Related