Example Dataset pass net core example

Stimulsoft Dashboards.WEB discussion
Post Reply
luigi.arena
Posts: 36
Joined: Thu Feb 12, 2015 12:49 am

Example Dataset pass net core example

Post 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
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Example Dataset pass net core example

Post 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.
luigi.arena
Posts: 36
Joined: Thu Feb 12, 2015 12:49 am

Re: Example Dataset pass net core example

Post 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
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Example Dataset pass net core example

Post 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.
luigi.arena
Posts: 36
Joined: Thu Feb 12, 2015 12:49 am

Re: Example Dataset pass net core example

Post 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 ?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Example Dataset pass net core example

Post by HighAley »

Hello.

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

Thank you.
Post Reply