|
|
1
1
创建pDispationResult和ExcelActionResult 编辑 ExcelActionResult示例: http://stephenwalther.com/blog/archive/2008/06/16/asp-net-mvc-tip-2-create-a-custom-action-result-that-returns-microsoft-excel-documents.aspx |
|
|
2
2
使用 iTextSharp 创建PDF并用 FileContentResult . |
|
3
2
我建议编写ReportingServices报告(RDLC),将其与Web应用程序一起部署,并使用 report viewer control 以呈现输出。 引入报告服务似乎是一条陡峭的学习曲线,但也不算太糟糕。您可以从支持其他格式的可靠解决方案中获得额外的好处。此部署方案不需要报表服务器-甚至不需要SQL Server。 |
|
|
4
0
类似abcpdf的东西对于创建PDF很酷,对于Excel,您只需要从数据集创建一个数据表。
至于如何使用PDF文件,这取决于您选择的路线! |
|
|
5
0
对于PDF,您可以使用 PdfSharp . 对于Excel,我想 Aspose.Cells 会很好的(虽然我从来没有用过,但我用过他们的词component和it rocks)。 |
|
|
6
0
|
|
|
Andrus · 如何在Linux中阅读期刊 1 年前 |
|
|
Miranda · 读取xml文件时路径错误中有非法字符 1 年前 |
|
|
Primdonm · 如何将自定义列表中的字符串值格式化为货币格式? 2 年前 |
|
|
Kiryl · Sitecore中自己的控制器 2 年前 |
|
|
Farid · 如何从数据库中填充Resource.resx文件值? 2 年前 |