Reputation: 856
I'm developing a system in asp.net (webforms) where the users can log in and see their reports. I was using RDL from my reports, but now I wanna use another technology when reports be more dynamics, just like this:
But I need a free tech and this have to work with my project in asp.net. What could I use?
Upvotes: 1
Views: 517
Reputation: 424
First, pick the reporting engine you want to use... Crystal Reports, DevExpress Reporting, Telerik Reporting, ComponentOne ActiveReports are the main players outside of Microsoft's SSRS. Base your decision on which tool you want to "marry", because creating reports can be a pain or it can be easy, depending on which tool you pick for the job.
Once you have that, pick the server software that works for your situation. There are several choices for Crystal servers (including SAP Crystal Server, VersaReports ReportServer, etc.), only a few choices for the other engines.
Upvotes: 0
Reputation: 155658
I've toyed with reporting systems like Crystal Reports or SQL Reports, and found them to have a learning curve, but also be rigid and inflexible, or generate horrid HTML.
ASP.NET MVC can be used as a great reporting system, here's how:
VirtualPathProvider
to allow you to store your MVC .aspx
files in a database..aspx
file) should have a <% %>
area that does all of the report-generation logic by running queries and stuff.<img src="">
element, it instead does this: <img src="RestfulImage.ashx?line1={1.2,4.6,8...." />
. Google actually has a service you can use: https://developers.google.com/chart/image/docs/making_chartsSo each report is an .aspx
file that is given a data-access object it then queries directly and generates reports itself. Obviously this does not work well for reports that take a long time to build (but that's usually a symptom of bad DB design or a lack of indexes), but if your requirements are simple (i.e. a bunch of SQL SELECT
queries rendered to <table>
and some charts to go along with) then this approach works great.
Upvotes: 1