Getting "Table is not connected to the data" error despite RegisterData called

Hello, I have a report with several data sources defined. I am registering the data but I get a Table is not connected to the data error. Can anyone help?

using (var report = new Report())

           {

               report.Load("Reportes/Reporte presupuesto.frx");

               report.RegisterData(presupuestoPdf.Referencias.ToList(), "Referencias");

               report.RegisterData(presupuestoPdf.Conceptos.ToList(), "Gastos");

               report.RegisterData(presupuestoPdf.Liquidacion.ToList(), "Liquidacion");

               report.Prepare();

               using (var stream = new MemoryStream())

               {

                   report.Export(new PDFSimpleExport(), stream);

                   return stream.ToArray();

               }

           }

       }

Comments

  • open 'Reporte presupuesto.frx' with notepad, check the content in 'dictionary' node

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.