透過reportview轉byte[]
byte[] bytes = reportViewer.LocalReport.Render(
"PDF", null, out mimeType, out encoding, out filenameExtension,
out streamids, out warnings);
最後輸出成PDF
- 參考:
- https://stackoverflow.com/questions/2684221/creating-a-pdf-from-a-rdlc-report-in-the-background