为什么使用ReportView?
报告对我来说很新鲜。我看到VS提供了一些报告控件,这些控件提供了一个向导来帮助创建报告。我的问题是,如果我已经有生成报表数据的存储过程,那么通过报表视图或网格视图呈现它有什么区别? ReportView 控件是否具有其他网格控件所没有的明显优势?
Reporting is pretty new to me. I see that VS provides some Reporting controls that provides a wizard to help creating the report. My question is, if I already have stored procedures that generate the report data, what is the difference between presenting it through a reportview or gridview? Is there obvious advantage that reportview control provides that other grid controls don't?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
本地模式 (RDLC) 下的 ReportViewer 具有许多附加功能
ReportViewer in local mode (RDLC) has a lot of additional functionality
您可以使用 ReportViewer 控件来显示使用 Sql Server Reporting Services 生成的报告。因此,如果您想要一份包含图表或图形的报告,您可以创建它并将其托管在 SSRS 中,然后将其包含在您的应用程序中。
网格视图只能显示网格中的数据。报告查看器能够以更复杂的方式格式化数据。
You can use ReportViewer controls to display reports generated with Sql Server Reporting Services. So if you wanted to have a report that included charts or graphics, you could create it and host it in SSRS and then include it right in your application.
A grid view can only display data in a grid. The report viewer has the capability to format data in much more sophisticated ways.