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

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