I have two report parameters which need to have their data populated via a SQL datasource. I see how to do this by setting up a SQL dataadapter in the report and then setting the adapter as the DataSource for the report parameter.
The issue that I have is this. I distribute this website to multiple clients. Each client has a different SQL connection string which I store in the appSettings in web.config. I cannot figure out how to set or associate this connection string at runtime from the appSetting to the report dataadapter connection. Is there a way in the code behind to do this?
Thanks.
Dan
The issue that I have is this. I distribute this website to multiple clients. Each client has a different SQL connection string which I store in the appSettings in web.config. I cannot figure out how to set or associate this connection string at runtime from the appSetting to the report dataadapter connection. Is there a way in the code behind to do this?
Thanks.
Dan