FastReport
FastReport copied to clipboard
FirebaseSqlClient convert to FastReport.Base
Im trying to fill my report made on fastreport designer, I can fill my report in the designer using the connection string and all good! But when Im trying to load my report I receive a error in some case Can't find object FirebirdDataConnection or when im trying to put :
RegisteredObjects.AddConnection(typeof(FirebirdDataConnection));
Report report = new Report();
var path = Path.Combine(_hostingEnvironment.ContentRootPath, "Templates", "Reports", "ReportTransfe.frx");
report.Load(path); [Here just throw a error about Can't find object FirebirdDataConnection ]
report.Dictionary.Connections[0].ConnectionString = @"initial catalog=[mypath];userid=SYSDBA;password=key";
report.Report.Dictionary.Connections.Add(fbConn);
return report;
Too I tried
RegisteredObjects.AddConnection(typeof(FirebirdDataConnection));
Report report = new Report();
FbConnection fbConn = new FbConnection();
fbConn.ConnectionString = Configuration.GetConnectionString("Database");
report.Report.Dicitonary.Connections.Add(fbConn); [Here I got a error about convertion from FirebirdDataConnection to FastReport.Base ]
return report;
How I can set correctly my settings for make my report?
Im using .Net core 3.1 and Firebird 3
Hello!
Tell me more about the configuration of your project
Best regards Marat