在 ASP.NET 1.1 中使用 SSRS

发布于 2024-07-14 01:56:53 字数 89 浏览 8 评论 0原文

是否可以在 ASP.NET 1.1 应用程序中使用 SSRS 生成报告? 是否有适用于 ASP.NET 1.1 的报表查看器控件? 如果没有,有什么解决方法吗?

Is it possible to use SSRS for reports in an ASP.NET 1.1 application? Is there a report viewer control for ASP.NET 1.1? If not is there any workaround for this?

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

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

发布评论

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

评论(3

后eg是否自 2024-07-21 01:56:53

解决这个问题的一种方法是使用 Reporting Services 提供的查询字符串命令,并以 PDF 格式(或以任何其他可交付格式提供给最终用户)提供报表。

Reporting Services 本身需要 .NET 2.0 才能独立运行,因此没有实际的控制器可以在仅 .NET 1.1 的网站上实时显示报表 编辑

:这是有关 URL 访问的 MSDN 信息。

http://msdn.microsoft.com/en-us/library/ms153586。 aspx

http://msdn.microsoft.com/en-us /library/ms153563.aspx

One way you can get around it is to use the querystring commands that Reporting Services makes available and serve up the reports in PDF format (or in any of the other deliverable formats to the end user).

Reporting Services itself requires .NET 2.0 to run on its own, so there is no actual controller for displaying the reports live on a website that is only .NET 1.1

Edit: Here is the MSDN information concerning URL Access.

http://msdn.microsoft.com/en-us/library/ms153586.aspx

http://msdn.microsoft.com/en-us/library/ms153563.aspx

我的痛♀有谁懂 2024-07-21 01:56:53

我使用过报表查看器控件,但大多数时候并没有发现它非常有用。 根据您想要完成的任务,您可以通过 URL 直接访问报告。 您甚至可以通过向报表传递参数来实现此目的。

例如...
http://reports.mycompany.com/reportserver?%2fMyCompany%2fProject+Folder%2fReportName&EndDate=2/21/2009&BeginDate=2/15/2009& rs%3aParameterLanguage=en-US&rc:parameters=true

另一个可用选项是使用属于报告服务一部分的 Web 服务。 然后,您可以以不同的格式(PDF、word、Excel...)渲染报告的字节并将其输出给用户下载。 如果您正在寻找路线,我可以为您提供有关网络服务的更多信息......

I have used the report viewer control, but have not found it very useful the majority of the time. Depending on what you are trying to accomplish, you can access the reports directly via a URL. You can even do this with passing parameters to the report.

For example...
http://reports.mycompany.com/reportserver?%2fMyCompany%2fProject+Folder%2fReportName&EndDate=2/21/2009&BeginDate=2/15/2009&rs%3aParameterLanguage=en-US&rc:parameters=true

The other option that is available is to use the web service that is part of reporting services. You can then render back the bytes of the report in different formats (PDF, word, Excel...) and output those to the user for download. I can give you more information on the web service if that is the route you are looking at...

自我难过 2024-07-21 01:56:53

您可以通过asp.net 1.1 的Web 服务界面访问报表服务器。 将 Web 引用添加到您的项目,然后调用报表服务器公开的各种 Web 方法,以使用其中一种可用格式呈现报表。 例如,如果以 HTML 格式呈现报表,则可以将 HTML 注入到 Literal 控件中以在网页上显示。 您无法利用报表查看器界面来选择参数值、分页和导出,但应该可以创建一个模仿这些功能的页面。

You can access the Report Server through the web service interface from asp.net 1.1. Add a web reference to your project and then call the various web methods exposed by the report server to render your reports in one of the available formats. For example, if you render the report in HTML format, you can inject the HTML into a Literal control for display on your web page. You don't get the advantage of the report viewer's interface for selecting parameter values, paging and exporting, but it should be possible to create a page that mimics those functions.

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