This is a migrated thread and some comments may be shown as answers.

Dinamically change the connection string according to user.

0 Answers 9 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
smail
Top achievements
Rank 1
smail asked on 02 Dec 2017, 07:18 PM

I am using Telerik reporting in my application and I am using Sqllite db file, I want the connection string to change according to the user.

I found this solution :

https://www.telerik.com/support/kb/reporting/details/changing-the-connection-string-dynamically-according-to-runtime-data

but  I didn't know how to use it . I don't know what is a report source and i don't have a file with extention .trdx in my solution.

(i.e where to put this code :                    this.reportViewer1.ReportSource = reportSource;
                                                                this.reportViewer1.RefreshReport();

 

thanks,

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
smail
Top achievements
Rank 1
Share this question
or