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.
Unfortunately, activation email could not send to your email. Please try again.

datasource details from ASP.NET application

Thread ID:

Created:

Updated:

Platform:

Replies:

130540 May 17,2017 08:50 AM May 23,2017 07:33 AM Report Platform 5
loading
Tags: Report Designer
Gregory Kohle
Asked On May 17, 2017 08:50 AM

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

Vinoth Srinivasan [Syncfusion]
Replied On May 18, 2017 09:32 AM

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. 


Gregory Kohle
Replied On May 19, 2017 12:52 AM

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

Vinoth Srinivasan [Syncfusion]
Replied On May 22, 2017 06:55 AM

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. 


Gregory Kohle
Replied On May 22, 2017 07:55 AM

Hi Vinoth,

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

Regards,
Patrick

Vinoth Srinivasan [Syncfusion]
Replied On May 23, 2017 07:33 AM

Hi Patrick, 

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

Regards, 
Vinoth S. 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;