Connection dinamically with jsonDataConnection
I'm trying to create connection dinamically with jsonDataConnection, but the following error appears when adding the connection in the report.
JsonDataConnection connection = new JsonDataConnection();
connection.Json = @C:\Users\MACIEL\Documents\GitHub\Virtual-Boleto\DataBase\Caixa\db - Copia.json;
report.Dictionary.Connections.Add(connection);
The "DataConnectionBase" type is defined in an assembly that is not referenced. You must add a reference to the assembly "FastReport, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = db7e5ce63278458c"
If someone can help, I'm grateful.
JsonDataConnection connection = new JsonDataConnection();
connection.Json = @C:\Users\MACIEL\Documents\GitHub\Virtual-Boleto\DataBase\Caixa\db - Copia.json;
report.Dictionary.Connections.Add(connection);
The "DataConnectionBase" type is defined in an assembly that is not referenced. You must add a reference to the assembly "FastReport, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = db7e5ce63278458c"
If someone can help, I'm grateful.
Comments
Because I run it here
the project is not compiled.
The project is not yet compiled. The following message is displayed when using the code.
Your application has entered an interrupt state, but there is no code to show because all threads have executed external code (usually system code or structure).