close

URL 中的參數要這樣下

rs:Format=WORDOPENXML

如果寫成 rs:Format=WORD, 得到的可能是舊的Office Word 格式 (.doc)

至於XLSX格式, 參數要換成 EXCELOPENXML

 

出處:

https://docs.microsoft.com/en-us/sql/reporting-services/report-builder/export-reports-report-builder-and-ssrs?view=sql-server-2017

https://stackoverflow.com/questions/44583762/render-ssrs-reports-in-docx-instead-of-doc

 

arrow
arrow

    汪湯姆 發表在 痞客邦 留言(0) 人氣()