0

私はあなたに簡単な賛成の質問があります。これまでc#内でレポートを作成したことがないので、MicrosoftのレポートテクノロジとCrystalレポートの比較を探しています。2つの間に大きな違いはありますか?一方はもう一方よりも特に優れた何かをしますか?

レポートを検討する前に、どれを使用したいかを考えておきたいと思います。

4

2 に答える 2

2

i find reporting to be a necessary evil, i'd much rather have the analysis managed through workflow, that reports. so if my answer seems negative it's mk view of reporting more than the tool itself. I have only used CR so I cannot speak to the MS reporting.

CR has a different philosophy to their design time so the UI feels a bit awkward at first. Sort of like driving on the opposite side of the road. You know what your doing, but it feels uncomfortable.

I always pushed data to my CR reports through datatables rather than connect the report directly to the database. it was the only thing I could do to make the report "testable" in an automated fashion. This also separates the report from the database/source which made it easier to move from local development, to staging, to production.

you can pass objects and collections to the report (IEnumerable), but the support for datatables was better. For example. if the collection is empty CR will throw an exception. But if the datatable is empty CR will render a report with no data.

The preformance of dataset with CR is terrible. I would always flatten my object graph into a tabular data and then pass the data to the report. otherwise it would take forever to render.

Before VS 2010 CR for .Net was released as part of VS which made upgrades and migrations fairly straight forward. Upgrades where never simple, but at least .net and CR were released together. Starting with VS 2010, CR is now on it's own release cycle which means there are no guarantees of when you upgrade to the next version of VS and still be compatible with CR.

于 2012-06-21T13:33:01.890 に答える
2

私の経験から、Microsoftのレポートはカスタムデザインレポートではそれほど強力ではありません。私たちはCrystalレポートを4年間使用しています。重い負荷や未処理の例外に関しては無視できる問題がいくつかありますが、それを使用することをお勧めします。

  • 組み込み機能はPDFおよびEXCELにエクスポートします。
  • データセットを介した簡単なデータソース。
  • サブレポートは、多くの詳細をレポートする必要がある場合の管理に役立ちます。

等々。

于 2012-06-21T13:33:49.440 に答える