Hi All,
I have a multi-tenant database based on Microsoft SQL Azure to store my client info and I am using Telerik Report to for my Report modules.
Since I have to pull info from different database for different client, how do i dynamically configure my connection at web.config in order to know which database am i pulling from?
Please advise
Thanks You.
Eg.
<connectionStrings>
<add name="ReportClassLib.Properties.Settings.ClientDB" connectionString="**;Initial Catalog=DB_1;User ID=**;Password=**"
providerName="System.Data.SqlClient" />
</connectionStrings>
Client 1 is DB_1, Client 2 is DB_2,……