Blazor: Show Reports with Oracle Data Connection

Hello together,

I am currently trying to load a report to my blazor application. For that purpose I already checked out the Demo project Kirill Kornienko. In this case he worked with reports with a database in xml format.

In my case I created some reports with an oracle data connection, but I don't know how to show them. Do I also need to use the RegisterData function? If so, can somebody please tell me how to do it?

Thanks a lot and best regards

Comments

  • Hello!

    To resolve your issue, add the FastReport.Data.OracleConnection connector (after installing the FastReport.Data.OracleODPCore package), register it using FastReport.Utils.RegisteredObjects.AddConnection(typeof(OracleDataConnection)); and update the ConnectionString on the server;

    or execute a query via Oracle.ManagedDataAccess.Client on the server into a DataTable / List<T> and pass it to webReport.Report.RegisterData(dt, ‘MyTable’) (Enabled = true).

This discussion has been closed.