Hi Stimulsoft team.
The data source I configured here is the MSSQL table model, which cannot be directly supported by the current designer, so here I am going to return the DataSet through the DAX in the background and pass it to the designer.
I am going to add a button to the data source and jump to a method in the background. I need to get the designer object and add a data source to this object in this method.
I want to ask how to get the designer object and add a data source to this object.
At present, the examples provided in the official website only include adding a new report and then adding a data source to this object or adding a data source in the PreviewReport method. No code has been found to add a data source to an existing report object.
thanks in advance
add a data source to report
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: add a data source to report
Hello,
Please clarify which product, version and designer are you use?
Thank you.
Please clarify which product, version and designer are you use?
Thank you.
Re: add a data source to report
I am using Stimulsoft Dashboard Web Net Core 2020.2.3
-
- Posts: 6263
- Joined: Tue Mar 20, 2018 5:34 am
Re: add a data source to report
Hello,
You can add a direct connection to the database in the designer or prepare, fill data to the DataSet and register it with RegData() method.
Thank you.
You can add a direct connection to the database in the designer or prepare, fill data to the DataSet and register it with RegData() method.
Thank you.