i use from stimulsoft report 2020.2.1
for regular reports i use from below code for set connection string at runtime and work correctly.
Code: Select all
var report = StiReport.CreateNewDashboard();
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new StiSqlDatabase("CRMConnection",Class.ConnectionString.GetSQLConnectionString()));
Can a code be used for regular reports and dashboards?
please help me