简体   繁体   English

在输出简单且静态时使用SSRS或Crystal报表的优势?

[英]Advantage to using SSRS or Crystal reports when the output is simple and static?

I have an ASP.NET/C# web app in which the user needs to run reports with various criteria that will ALWAYS yield simple, 2-dimensional, tabular data. 我有一个ASP.NET/C# Web应用程序,用户需要在其中运行具有各种条件的报告,这些条件将始终生成简单的二维表格数据。 I'm tempted to use a sophisticated reporting engine like SSRS or Crystal Reports, but these seem like overkill, since there's really nothing to design (all outputs will be to CSV, or JSON for the browser to render in an HTML table). 我很想使用像SSRS或Crystal Reports这样的复杂的报告引擎,但是这些似乎有点过头了,因为实际上没有什么可以设计的 (所有输出都将是CSV或JSON,以便浏览器在HTML表中呈现)。

In this scenario, am I eating too much complexity by trying to use SSRS or Crystal Reports? 在这种情况下,通过尝试使用SSRS或Crystal Reports是否会吃太多的麻烦? Should I instead just write custom classes to dynamically assemble SQL statements (based on user selections) that will be fired against the database? 我是否应该只编写自定义类以动态组合将针对数据库触发的SQL语句(基于用户选择)?

Does SSRS or CR add anything that is of value (within the requirements constraints I've already described)...? SSRS或CR是否添加任何有价值的东西(在我已经描述的需求约束内)...?

Its depend on your requirement if you want to minimal overhead on your web app then please go ahead and use your custom codes since you are not required any styling or extra functions. 如果您希望最小化Web应用程序的开销,则取决于您的要求,然后请继续使用自定义代码,因为您不需要任何样式或其他功能。

Just get JSON objects and fill in HTML and go Head !! 只需获取JSON对象并填写HTML即可!

I am working with ssrs So i will talk just about it: 我正在与ssrs合作,所以我将只谈论它:

  • ssrs is a very useful tool for building a Reports ssrs是用于构建报告的非常有用的工具

all You need is sql server Stored Procedure to build your report 您所需要的只是sql server存储过程来构建报告

then deploy it to report server and use this report from your app 然后将其部署到报表服务器并在您的应用中使用此报表

-now all you need in your app just one page for all reports and you path the URL -现在您在应用程序中所需的全部仅需一页即可显示所有报告,并且您可以设置URL路径

dynamically with report name 动态与报告名称


  • You need to know this : 您需要知道这一点:

-ssrs did not work correctly with all browser -ssrs不适用于所有浏览器

for Exp : -Print Btn just work with IE 对于Exp:-Print Btn只能与IE一起使用

so Mozila and Google you need to use java script to print Report 因此Mozila和Google您需要使用Java脚本来打印报告

-some issue with criteria section : -标准部分存在一些问题:

there is no way to rename the 'select value' with drop down 无法通过下拉菜单重命名“选择值”

so you need to use java scrip to handle it 所以你需要使用java scrip来处理它

also you find ( Null and chick box ) any customer did not know what null mean so 您还会发现(Null和Chicken Box)任何客户都不知道null是什么意思

you need first to remove null keyword or to rename it to anther Keyword 您需要先删除null关键字或将其重命名为另一个关键字

also you need java script to do this 你也需要Java脚本来做到这一点


the most problem i have : 我有最大的问题:

all reports in reports server so when i go to a new client what i need 报表服务器中的所有报表,因此当我转到新客户端时我需要什么

just Sql server no need to setup visual studio and ssrs tool 只需Sql server,无需设置visual studio和ssrs工具

just to deploy all reports on client report server 只是将所有报告部署在客户端报告服务器上

its very bad .. 这很糟糕 ..

i solved this issue with tool i had make to deploy the all the report 我使用部署所有报告所需的工具解决了这个问题

and no need to setup VS just to deploy the report 无需设置VS即可部署报告


i think that the most important problem i have 我认为我有最重要的问题

and all of it i found a work around to solve .. and it takes more time 所有这一切我都找到了解决的办法..这需要更多时间

finally : use ssrs or CR its very easy to use and make report very fast no need to create a custom page for report and develop all its control just like print and export 最后:使用ssrs或CR使其非常易于使用,并使报告非常快速,而无需创建报告的自定义页面并开发其所有控件,就像打印和导出一样

report to PDF,excel or any type 报告为PDF,excel或任何类型

but if you have a few report i think no need to use any reports tool 但是,如果您有一些报告,我认为无需使用任何报告工具

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM