使用C#和SQL Server创建PDF报告 [英] Create PDF reports using C# and SQL server

查看:75
本文介绍了使用C#和SQL Server创建PDF报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



目前我正在开发一个项目,它有一个模块可以自动创建PDF报告。

一个解决方案是通过使用Crystal报告,但我不知道如何使用它。这些报告大约有200多页。

报告将采用静态HTML设计,并且正在从数据库中提取一些信息。

我想要的是点击按钮,报​​告以PDF格式生成并保存在计算机上。

请告诉我是否有任何解决方案可以使用水晶报告或任何可以帮助这方面的书/视频/讲座。

我正在使用C#(Visual Studio)和SQL Server 2005.



谢谢



我试过的:



搜索网络,但网上没有太多解决此问题的解决方案。

解决方案

此链接可以帮助您。只需将数据传递给pdfptable

在MVC中生成pdf - asp .net提示和技巧 [ ^ ]

Hello,

Currently i am working on a project and it has a module to automatically create PDF reports.
One solution is by using Crystal reports but i do not have much idea about how to use it. The reports are large of around more than 200 pages.
The reports will have a static HTML design and some information is being fetched from the database.
What i exactly want is on button click the report is generated in PDF and saved in computer.
Please tell me if there is any solution available for this using crystal reports or any book/video/lecture that can help in this regard.
I am using C#(Visual Studio) and SQL Server 2005.

Thanks

What I have tried:

Searched the web but not much of solutions available on the internet for this problem.

解决方案

This link may help you. just pass the data to pdfptable
Generate pdf in MVC - asp.net tips and tricks[^]


这篇关于使用C#和SQL Server创建PDF报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆