Creation of ASP NET MVC reports

Asked

Viewed 336 times

1

I need to create multiple reports on my system to display the data on the screen and have export options to Excel and PDF, where do I start? there’s some component that helps me with this?

2 answers

2

I’ve used the Reporting da Telerik, are great components, have the export to excel and pdf native and do not need to implement anything for it to work. However... is paid...

1


Excel

The best component I’ve found so far is called Epplus. His Nuget package is here. Here on the site we have some questions answered about it. I recommend reading them to have idea of implementation examples.

PDF

It is common to use the Rotating because it accepts an HTML input and returns a PDF, but Rotary does not work in purely web environments like Azure.

Looking for alternatives, I found the Razorpdf, but the package has not received updates for some time (I think the author died or something, because it does not respond to my messages or that of other users), so I created the Razorpdf2 that works with all the features of Razorpdf and add some more of this other.

Datatables

Still within the scope of export, o Datatables (component that improves jQuery-based tables) has Flash-based export options for PDF and Excel. It may be an option if your system doesn’t make much use of interfaces with mobile devices. The documentation is here.

Needing more details how to use, just ask new questions.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.