.net core datasource
I want to pass view model or entity to report from .net core application and view this model in the designer as data source of this report to work with report depending on this model.
I was work with asp.net and i pass data source to report by
Report.RegisterData(data,"datasource");
Report.GetDataSource("datasource").Enabled = true;
and then view designer with this data source by
Report.Design();
and design report as i want.
so i want to do like this in .net core app.
check attachment
notes on attachment
no 1 is the view model sended to designer from code by RegisterData method .>>> we need this on .net core
no 2 is the new data source database connection from report wizard.
I was work with asp.net and i pass data source to report by
Report.RegisterData(data,"datasource");
Report.GetDataSource("datasource").Enabled = true;
and then view designer with this data source by
Report.Design();
and design report as i want.
so i want to do like this in .net core app.
check attachment
notes on attachment
no 1 is the view model sended to designer from code by RegisterData method .>>> we need this on .net core
no 2 is the new data source database connection from report wizard.
Comments
online designer is the one and only report designer in .net core
i think you've mistaken between .net core and .net framework, read this http://www.codechannels.com/article/micros...ad-of-net-core/
if you want to run designer with GUI, stick to .net framework
if i want to pass generic list with nested generic list property as data source to report the data source of the report in designer show just parent properties and not nested list .
1-MS access connection
2-OLE BD connection
3-OBDC connection
4-MS sql connection
5-XML database
6-CSV database
on another report engine as crystal report and devexpress report find as on another picture data source can pass entity framework and object binding(view model)
how in fast report to work with pass data source as entity framework or object binding(view model)?
note:
we work with entity framework core and MVC .net core
Using XML document for update dictionary node by create new report with new data source and load it in memory stream and take dictionary child's from it and insert them in our report file by code.
We attached the solution method to help any one face like this problem.
Thanks for your help.
after loading frx into memory, modify it by code, then save
Hello,
I landed here because I was havibg issues passing parameters to reports, and I'm using the GUI report designer. If what you say is true, and I'm not doubting it, how come I am able to view in my dotnet core webapp the the reports perfectly as long as they don't have parameters?
in fastreport.net framework library, fastreport.report class has method 'design' => report.design()
you can use it only on desktop application (winforms)
in dotnetcore library, generally web application, if you want to integrate the designer with web application, you have to use 'online designer'
"if you want to integrate the designer with web application"
Aha I don't need to integrate designer with my web app I just want to create standalone reports that my application will call, what am I not understanding? As far as I know, dotnet core is cross platform so the reason I suppose for the oinline designer is for Linux, mac users to be able to use it. I'm very comfortable with the GUI designer please explain to me further maybe I am missing something
https://blogs.msdn.microsoft.com/dotnet/201...-future-of-net/