Как распечатать или экспортировать записи из базы данных с помощью ASP.NET приложение razor-pages
I’m created an ASP.Net Razor-Pages application that allows users to enter data related to a service call they completed. A supervisor can logon and have access to calls completed by members of his/her team. The goal at this time is to, 1) Print the records for the current week, or 2) Export the records for the current week in an Excel or PDF format. Each record has eight columns, there will be only a few hundred records. Can either of these options be done using Visual Studio 2017 only? If so, suggestion on how to print or export the records will be appreciated. If additional tools are required, what tools should I consider using?
Что я уже пробовал:
During the past week I’ve spent hours trying to find answers to these questions on-line, but I have not been able to find a definitive answer with suggestions (steps) on how to print or export the records from the database using ASP.Net Razor-Pages. I get the impression that Razor-Pages is still such a new platform that maybe this can’t or hasn’t been done yet. I am probably looking in the wrong sites or asking the question in the wrong way