add a data source to report
Posted: Wed May 27, 2020 7:33 am
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
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