I was trying to render rdlc reports in .net core 2.0 and found System.Web is not yet available in .net core. So I started a separate .net standard 2.0 project with in the same solution for the task. Then I was again facing issue with 'ReportDataSource' which in turn is System.Web library. I tried to google for the same but found no luck with the information related to this. Someone please help me to find the possibilities to render rdlc in my .net core project.
You can try it like this, it works:
var rds = new ReportDataSource();
rds.Name = "DeviceSalesReport";
rds.Value = result;
dataSource.Add(rds);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With