We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.

For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.

Thank you for choosing Syncfusion for your reporting needs.

datasource details from ASP.NET application

Hi,

is there a way to set the datasource details from an ASP.NET application, so that we don´t have to adjust these manually?
Thanks.

Regards,
Patrick

5 Replies

VS Vinoth Srinivasan Syncfusion Team May 18, 2017 01:32 PM UTC

Hi Patrick, 
 
Thanks for using Syncfusion components. 
 
Our reporting controls allows to use XML files hosted in ASP.NET application as datasources to the reports, please refer to the below for more details on using XML datasource. 
If we misunderstood your requirement then please update more details about your requirement, it will be helpful for us to provide solution. 
 
Regards, 
Vinoth S. 



GK Gregory Kohle May 19, 2017 04:52 AM UTC

Hi Vinoth,

we would like to change the database server and the database name within code from our application.
If I unstood correctly the XML files only work if there is a XML datasource.

Regards,
Patrick


VS Vinoth Srinivasan Syncfusion Team May 22, 2017 10:55 AM UTC

Hi Patrick, 
 
If your requirement is to modify the database server and database name in a report, then it can achieved by editing the report definition in code behind of your ASP.Net application. Please refer the below KB for editing the report in code behind. 
 
 
Regards, 
Vinoth S. 



GK Gregory Kohle May 22, 2017 11:55 AM UTC

Hi Vinoth,

thanks for your respone. This is our requirement so thank you for the clarfication that this is already possible.

Regards,
Patrick


VS Vinoth Srinivasan Syncfusion Team May 23, 2017 11:33 AM UTC

Hi Patrick, 

Thanks for your update. Please let us know if you require any further assistance on this. 

Regards, 
Vinoth S. 


Loader.
Live Chat Icon For mobile
Up arrow icon