ASP.NET 综合报告

发布于 2024-07-27 19:02:56 字数 597 浏览 3 评论 0原文

我们有一个 ASP.NET 2 应用程序,目前为了生成报告,我们正在利用 DataSet/DataTable 进行一些存储过程/查询并显示在屏幕(网格)上。 对于图形,我们使用 Dundas Chart 组件,并再次使用 DataSet/DataTable 来显示它。 这些东西一直运行良好......没问题。

现在,我们面临的挑战是,我们在上面生成的每一份报告(网格或图表),用户都希望合并为 1 个单击解决方案,这意味着如果他们单击“合并报告”,它也会生成页面(网格/图)到一页。 但问题是用户想要使用显示(网格/图表)并下载到 1 个文件中。 可以是Words女士/Excell女士。

我们将如何实现这一目标?

我想这样做: 1. 转换所有内容以使用 Reporting Services(客户端).. 或 2. 是否可以将page/grapf转换为Word/Excel转换为单个页面? 还有其他解决办法吗?

问题是我们有简单的存储过程来获取数据源,然后我们使用该数据并在 DataSet/DataTable 中进行大量数据操作(循环记录、创建新数据集并操作等),然后构建最终报告并显示在屏幕上。

我很感激你的评论。

谢谢

We have an ASP.NET 2 application and at the moment for the reporting, we are utilising DataSet/DataTable taking some storedprocedure/query and display on the screen (grids). For the graphics, we are using Dundas Chart component and again we are utilising DataSet/DataTable to display it. These thing has been running well ... no issue.

Now, we are having a challenge that every single report that we produce above (grid or graph), the user wants to consolidate into 1 single click solution which means if they click the "Consolidated Report" it will produce the page as well (grid/graph) into 1 page. But the issue is that the user wants use the display (grid/graph) and download into 1 file. It could Ms Words/Ms Excell.

How we are going to achieve this?

I am thinking to do as follow:
1. Convert everything to use the Reporting Services (client) .. or
2. Is it possible to do like convert the page/grapf into Word/Excel into a single page? Is there any other solution?

The issue is that the we have simple stored procedures to get the data source out and then we are using that data and do the massive data manipulation in DataSet/DataTable (loop through the records, create a new dataset and manipulate etc etc) and then to construct the final report and display on the screen.

I am appreciated your comment.

Thank you

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

终弃我 2024-08-03 19:02:56

我认为最好的解决方案是将 HTML 集成到 PDF 中。

您可以使用 ABCPdf from WebSuperGoo 轻松将生成的 HTML 转换为 PDF(我怀疑其他解决方案可以工作,但我只使用过此产品)

请参阅此现场演示,然后选择“添加 URL”并指向您的网址或查看此示例

In my opinion the best solution will be integrating the HTML into a PDF.

You can convert the HTML generated into PDF easily with ABCPdf from WebSuperGoo (I suspect that other solutions can work, but I have only used this product)

See this live demo, and select "Add URL" and point to your URL or check out this example

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文