I wish to change the database the connection string is pointed to based upon a Reporting parameter. Is that possible? Or do I have to use the ChangeConnectionString class I found on another thread.
Ideally, I'd like to be able to have a parameter called @dbid and have the connectionstring be:
<ConnectionString Name="DynamicConnection" ConnectionString="Data Source=servername;Initial Catalog=@dbid;Integrated Security=True"
ProviderName="System.Data.SqlClient" />
All within the designer. Is this possible?
Ideally, I'd like to be able to have a parameter called @dbid and have the connectionstring be:
<ConnectionString Name="DynamicConnection" ConnectionString="Data Source=servername;Initial Catalog=@dbid;Integrated Security=True"
ProviderName="System.Data.SqlClient" />
All within the designer. Is this possible?