i created web application showing reports, when the user click on the report name and insert the parameters of this report, I send the connection string to the report from web.config as following:
Code: Select all
StiReport report = new StiReport();
report.LoadFromString(a);
report.Dictionary.Databases.Clear();
report.Dictionary.Databases.Add(new Stimulsoft.Report.Dictionary.StiSqlDatabase("Connection", General.ConnString));
report.GetSubReport += new StiGetSubReportEventHandler(rep_GetSubReport);
report.Compile();
Iam using Stimulsoft Web 2012.3
Please help
Thank you