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

Datasource Connection String

1 Answer 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Guss
Top achievements
Rank 2
Guss asked on 17 May 2008, 11:04 PM
Hi

Is it possible to maintain a datasource connection string in a config file (like the web.config of web site) for all reports.

I'm creating a web application, but in a seperate project I'm creating the reports.
Once published, it will be known where the database reside, so changing the connection string only at one place so that all the reports then use that connection string.?

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 21 May 2008, 11:45 AM
Hello Guss,

Please excuse us for the delayed reply.

Really the web.config file is very useful place to store application's specific information (settings) like connection strings fro example. In this thread the same case is discussed and a sample code is provided. Please follow the  pattern and let us know if further help is needed.

Sincerely yours,
Ivan
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
General Discussions
Asked by
Guss
Top achievements
Rank 2
Answers by
Ivan
Telerik team
Share this question
or