My question is - Is it possible to change connection string for this connection in code?
For example:
In report I add connection with connection string "Data Source=(local);Integrated Security=True;Initial Catalog=Test".
Is it possible to change this connection string on "Data Source=(local);Integrated Security=True;Initial Catalog=Test2" in code?
I have code like this:
Code: Select all
StiReport r = new StiReport();
r.Load("Report.mrt");
var dataSources = r.Dictionary.DataSources
Is it possible to achieve what I want?
Thank you in advance for your help.