FastReport.Core / sqlConnection
Hey,
using the trial version I tried the following code:
This example throws the following exception on Load(reportfile): FastReport.Utils.ClassException: 'Can't find object MsSqlDataConnection'
Using a Report without Database connection works as expectd.
Any Idea on how to use a database connection on .core?
Thanks
Matthias
using the trial version I tried the following code:
           Â
var sqlConnection = new MsSqlDataConnection();
sqlConnection.ConnectionString = _connectionString;
          sqlConnection.CreateAllTables();
            report.Report.Dictionary.Connections.Add(sqlConnection);
            report.Report.Load(reportFile);
This example throws the following exception on Load(reportfile): FastReport.Utils.ClassException: 'Can't find object MsSqlDataConnection'
Using a Report without Database connection works as expectd.
Any Idea on how to use a database connection on .core?
Thanks
Matthias