如何使用visual studio报表查看器显示报表服务报表

时间:2021-11-23 08:19:41

I create a reporting service project: "Report Project1" and add a report : "Report1.rdl" . I deploy this report to my local report server .I can see the report using my local report manager seb site.Now I want to see this report in my web site.I add Report Viewer to my page :

我创建了一个报告服务项目:“Report Project1”并添加一个报告:“Report1.rdl”。我将此报告部署到我的本地报告服务器。我可以使用我的本地报告管理器seb site查看报告。现在我想在我的网站上看到此报告。我将报告查看器添加到我的页面:

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="913px">
    <ServerReport ReportPath="Report Project1/Report1.rdl" ReportServerUrl="http://nima/ReportServer_SQL2008"/>
</rsweb:ReportViewer>

but when I run it I don't see any thing.what is the problem?

但是当我运行它时我没有看到任何东西。问题是什么?

thanks

谢谢

1 个解决方案

#1


1  

add a slash before ReportPath and delete .rdl and set ProcessingMode="Remote" for ReportViewer

在ReportPath之前添加斜杠并删除.rdl并为ReportViewer设置ProcessingMode =“Remote”

#1


1  

add a slash before ReportPath and delete .rdl and set ProcessingMode="Remote" for ReportViewer

在ReportPath之前添加斜杠并删除.rdl并为ReportViewer设置ProcessingMode =“Remote”