Page 1 of 1

Example Dataset pass net core example

Posted: Tue May 12, 2020 2:27 pm
by luigi.arena
Hello,
Is it possible to have an example with net core technology to pass a dataset to a dashboard with c # code?
Thank

Re: Example Dataset pass net core example

Posted: Tue May 12, 2020 9:34 pm
by HighAley
Hello,

You could pass data the same way as for the reports.
Please, read the next section of the manual
https://www.stimulsoft.com/en/documenta ... g_data.htm

Do you get any issue with it?

Thank you.

Re: Example Dataset pass net core example

Posted: Wed May 13, 2020 1:06 pm
by luigi.arena
For the code in homecontroller.cs it's ok.
But I don't know how to create the dashboard in designer, which parameters add, the connection type or datasource.
Could I have an example of dashboard.mrt?
Thanks

Re: Example Dataset pass net core example

Posted: Thu May 14, 2020 12:21 pm
by HighAley
Hello,

Sorry, maybe we don't understand you right.
Do you want to do it with code or in the Designer?
What kind of sample do you need?

Thank you.

Re: Example Dataset pass net core example

Posted: Thu May 14, 2020 1:16 pm
by luigi.arena
Ok.
Sorry for my english.

In this example use the file SqlSampleReport.mrt :

Code: Select all

StiReport report = new StiReport();
report.Load(StiNetCoreHelper.MapPath(this, "Reports/SqlSampleReport.mrt"));
report.RegData("Products", dataSet);
Can I have this file SqlSampleReport.mrt ?

Re: Example Dataset pass net core example

Posted: Thu May 14, 2020 5:58 pm
by HighAley
Hello.

You could find a sample on GitHub:
https://github.com/stimulsoft/Samples-D ... 20Template

Thank you.